I created a mysql database cluster but can’t connect from mysql client
I added my ip to trusted sources and downloaded CA certificate and copied public network connection details -> mysql://username:password@myhost:25060/defaultdb?ssl-mode=REQUIRED
I opened TablePlus and create new connection and select import from url and paste my connection details, And then I changed SSL mode ‘REQUIRED’ and choose the CA I downloaded.
I’ve tried something other than TablePlus and still can’t.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
Do you by any chance have a dynamic IP address? To rule that out, does the connection work when you disable the trusted sources so that the instance is open for all connections?
Also, does it work if you try to access the MySQL instance via the
mysql
CLI?https://docs.digitalocean.com/products/databases/mysql/how-to/connect/
Best,
Bobby