Adonis migration:run Error

Hello. I’ve been trying to run the migration but i keep getting this error:

Can someone help me with this. thanks

I am not sure but have you already installed mysql package? If you haven’t, please try this;

$ npm install --save mysql

Why?

1 Like

thank you for the reply
I reinstall the mysql through yarn and it’s fixed

1 Like