Changed Root Password, Now App Can't Connect

66 views
Skip to first unread message

Aaron Madison

unread,
Sep 2, 2016, 1:57:21 PM9/2/16
to Google Cloud SQL discuss
I'm using CloudSQL 2nd Generation. I changed the root password in the web console and now I keep getting the following error:  

OperationalError: (1045, "Access denied for user 'root'@'cloudsqlproxy~173.194.90.32' (using password: NO)")


Is there anything I need to do to re-set the application or the database so my application can connect again? The application is never required to use the root password in the first place.

Thanks for any help!

~ aaron

Tony Tseng

unread,
Sep 2, 2016, 11:49:20 PM9/2/16
to Google Cloud SQL discuss
Hi Aaron,
You mentioned that you've set the root password in the web console, right?
Since the root password is now set, you'll have to pass it in order to connect. 

Aaron Madison

unread,
Sep 3, 2016, 3:49:08 PM9/3/16
to Google Cloud SQL discuss
Thanks Tony, that works to specify the password. Is that a new change in the 2nd Gen Cloud SQL? I could have sworn I had changed the root password before on the 1st gen without a password being required.

Reply all
Reply to author
Forward
0 new messages