-
-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignoring invalid configuration option passed to Connection: driver #753
Comments
This is actually coming from mysql's createConnection, not db-migrate. In your case, the dev configuration is passed directly to mysql's createConnection. createConnection isn't expecting the driver value so it complains. This would have to be fixed in db-migrate-mysql, not db-migrate. |
@erkage were you able to fix this issue ? I'm also facing same issue. |
You can fix this issue just add in node_modules/db-migrate-mysql/index.js |
Hi,
Can't figure out why i'm getting this msg when running
pnpm db-migrate up
:Ignoring invalid configuration option passed to Connection: driver
My
database.json
is:migration js is genereated with
pnpm db-migrate create user
:Versions:
"db-migrate": "^1.0.0-beta.16",
"db-migrate-mysql": "^2.2.0",
node: v14.17.3
The text was updated successfully, but these errors were encountered: