Open rishavs opened 3 years ago
@rishavs I think the situation you are in is the same as #136. PR are welcome accordingly to #113.
@rishavs You need to add the cluster name to the db name as prefix, and also enable cleartext
auth methods:
postgres://uname@somehosturl.cockroachlabs.cloud:26257/somedbname.defaultdb?auth_methods=cleartext,md5,scram-sha-256&sslmode=verify-full&sslrootcert=cc-ca.crt
But sslmode=verify-full
is not implemented.
I am having issues connecting to cockroachdb and I wonder if this is the same issue.
my connection string is something like;
postgres://uname@somehosturl.cockroachlabs.cloud:26257/defaultdb?sslmode=verify-full&sslrootcert=cc-ca.crt&options=--cluster=somedbname
One of the reasons why I want to use Cdb is its support for ssl connections and was hoping that I could use it in my crystal api.