-
Notifications
You must be signed in to change notification settings - Fork 472
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
Allow DB host with characters #457
Comments
Hi @AliOsm, |
@ankane Actually there is a problem, when I set:
And run a query, I get the following error:
Which leads to:
|
The same configs are working fine with Rails. |
Hostnames can't contain underscores. You'll see the same error with Rails if you pass the same URL as the |
You are right, it works now! Thanks for your helpful response :) |
Thanks for this great gem, I'm really happy with it :)
I faced a problem recently in a new project that is deployed on a single server with docker using Kamal.
The URI parser is raising an exception when I pass the DB host as the container name like "myapp-postgres".
Is it possible to change the parser or provide a configuration based integration with postgres like Rails? As Rails is accepting the docker name with no issues.
The text was updated successfully, but these errors were encountered: