I am trying to setup a database and enter in a few entries. I am following the documentation provided by google, “Connect to Cloud SQL for MySQL from Cloud Shell” (https://cloud.google.com/sql/docs/mysql/connect-instance-cloud-shell) – I’m getting to the step “gcloud sql connect myinstance –user=root” and I never had a password set, so I set a password with passwd and I put in the password I set after running the command again and I get “ERROR 1045 (28000): Access denied for user ‘root’@’googlecloudIPADDRESS’ (using password: YES)”
I have tried setting the password with passwd, and trying again. I have followed the instructions from this stackoverflow post, /a/65461706/26064001 and tried entering in the command again and get the error “ERROR 1045 (28000): Access denied for user ‘root’@’googleCloudIPADDRESS’ (using password: YES)” – I am expecting for the mysql prompt to appear.
Fire Aussie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.