You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a password is not specified using the -p flag, it is still passed to sequelize as if there was a password specified.
I fixed this by removing the default value for password.
Previously:
.option('password',{alias: 'p',describe: 'Password for database.',type: 'string',default: 'root',})
Now:
.option('password',{alias: 'p',describe: 'Password for database.',type: 'string',})
The text was updated successfully, but these errors were encountered:
When a password is not specified using the
-p
flag, it is still passed to sequelize as if there was a password specified.I fixed this by removing the default value for password.
Previously:
Now:
The text was updated successfully, but these errors were encountered: