-
Notifications
You must be signed in to change notification settings - Fork 44
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
connect to cockroachdb #170
Comments
I never tried it so I don't know. Without the error/logs its hard to say anything |
here is the error i dont know how to add this line of code |
CLC does not understand variables, so try it without the $HOME (just to test if it can connect at all) |
i tried this but does not work how to include the ssl certificate file ? |
What does it say exactly? Does this connection string work via pgjdbc? |
here is the documentation using jdbc https://www.cockroachlabs.com/docs/v21.2/build-a-java-app-with-cockroachdb |
is it possible to connect to cockroachdb? the connection string is like this :
postgresql://aldo:@free-tier6.gcp-asia-southeast1.cockroachlabs.cloud:26257/defaultdb?sslmode=verify-full&sslrootcert=$HOME/.postgresql/root.crt&options=--cluster%3Dsmoggy-deer-1769
i tried this in the props file but failed
dsl=./dsl
postgres=free-tier6.gcp-asia-southeast1.cockroachlabs.cloud/smoggy-deer-1769.defaultdb?user=aldo&password=KM89dd7]za#Kt3V&sslmode=verify-full&sslrootcert=$HOME/.postgresql/root.crt&options=--cluster%3Dsmoggy-deer-1769
migration
apply
force
The text was updated successfully, but these errors were encountered: