dolthub / hosted-issues

Issues for hosted.doltdb.com
https://hosted.doltdb.com
2 stars 0 forks source link

Add instructions on connect page to avoid `server does not allow insecure connections, client must use SSL/TLS` error #67

Open coffeegoddd opened 1 year ago

coffeegoddd commented 1 year ago

After creating a deployment and trying to connect to it with a connection string and a golang mysql client, I received the following error:

Error 1105: unknown error: Code: UNAVAILABLE
server does not allow insecure connections, client must use SSL/TLS

The solution here was to add tls=skip-verify to the connection string as a query parameter. This should be documented on the connection page so that other's can quickly connect to their instances.