When attempting to connect to a Google Cloud SQL instance via various MySQL clients, the root login is now failing with the error:
$ mysql --host=173.194.x.x --user=root -p Enter password: ERROR 1045 (28000): Access denied for user 'root'@'98.225.x.x' (using password: YES)
I was previously able to login and perform various tasks (create a local user, add tables and store procedures, etc.).
I can still login as the local user I created.
So, I have:
- Confirmed the instance "IP Address"
- Confirmed the "Authorized Networks"
- Set and reset the "Root Password" multiple times
- "Reset SSL Configuration"
- Cleared the checkbox for "Only allow SSL connections"
- "Restarted" the instance multiple times
Any suggestions on diagnosing root login failure?
Thanks for any help.
SELECT user,host,ssl_type FROM mysql.user;and see ifroot@%hasssl_typeset toX509? if it does, delete the user from that table and reset the password from the UI. - Juan Enrique Muñoz Zolotoochin