Skip to content
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

cannot have colon (':') in password for mysql #355

Closed
alderion opened this issue Sep 18, 2016 · 2 comments
Closed

cannot have colon (':') in password for mysql #355

alderion opened this issue Sep 18, 2016 · 2 comments

Comments

@alderion
Copy link

the below does not work. results in access denied.

ROM.container(:sql, "mysql://usr:pass:word@machine/database") do |rom| ...
ROM.container(:sql, "mysql://usr:pass:word@machine/database") do |rom| ...
ROM.container(:sql, "mysql://usr:'pass:word'@machine/database") do |rom| ...

am i doing it wrong or does rom not support a password that contains a colon?

@alderion
Copy link
Author

sorry, github ate the \ escape char in my second example: pass\:word

@flash-gordon
Copy link
Member

flash-gordon commented Sep 18, 2016

Hey, @alderion, I moved this to rom-rb/rom-sql#92, check it out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants