05-05-2023 03:35 PM
I need to connect to a MySQL instance in Google Cloud that requires username/password + SSL. This is not the same as using an SSH Tunnel, per the options in the MySQL Database Account settings. The other clients I use to connect to the database have options for both SSH Tunnel and for SSL, and the SSH Tunnel options are unchecked. With the other clients, I specify the three files provided by the MySQL instance: cert, ca cert, and private key. I’ve uploaded a pkcs12 keystore with the three items, but have not been successful at creating a MySQL Database Account that can authenticate to the database.
Has anyone successfully connected to Google Cloud MySQL? What steps am I missing?