-
-
Notifications
You must be signed in to change notification settings - Fork 760
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
sequelize - connection string - problem with password containing an @ #676
Comments
SQL connection strings with special characters have to be URL encoded: encodeURIComponent('my@password') // -> 'my%40password' |
Not a show stopper but not very intuitive especially in those days when we are force to include weird chars into passwords.
|
You can always change the connection as shown in the Sequelize documentation in the connection file set up by the generator. |
I suppose I'd better not hacking this file and stick with your solution. It's not like I will have a password to encode every day, after all. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue with a link to this issue for related bugs. |
It looks like it doesn't work when having a password containing a @ directly in the connection string for sequelize:
I imagine (just a guess) that it has something to do with the @ that is used to separate the
password
and thehost
. It certainly mess up the parsing to have another @.The text was updated successfully, but these errors were encountered: