We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
New to backend dev, but im trying to use hikari and I can get a connection if I do
val ds = HikariDataSource() ds.driverClassName = "org.postgresql.Driver" ds.jdbcUrl = "jdbc:postgresql://viaduct.proxy.rlwy.net:1234/railway" ds.username = "postgres" ds.password = "password"
But (im using railway as my host) railway has a env variable for the url and it comes through as a format of
postgresql://postgres:password@viaduct.proxy.rlwy.net:1234/railway so I tried doing
postgresql://postgres:password@viaduct.proxy.rlwy.net:1234/railway
val ds = HikariDataSource() ds.driverClassName = "org.postgresql.Driver" ds.jdbcUrl = "jdbc:"+ THE_ENV_VAR
but the connection fails. Any ideas if this is because hiraki can't handle both username and password in the jdbc url?
The text was updated successfully, but these errors were encountered:
postgres is the db username
Sorry, something went wrong.
No branches or pull requests
New to backend dev, but im trying to use hikari and I can get a connection if I do
But (im using railway as my host) railway has a env variable for the url and it comes through as a format of
postgresql://postgres:password@viaduct.proxy.rlwy.net:1234/railway
so I tried doing
but the connection fails. Any ideas if this is because hiraki can't handle both username and password in the jdbc url?
The text was updated successfully, but these errors were encountered: