How to connect to cloud sql using cloud shell and SSL?
266 views
Skip to first unread message
Bilal Haidar
unread,
Jun 15, 2021, 2:16:58 AM6/15/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Hi,
My database instance has SSL enabled. When I try to connect to it via Cloud Shell, I get the famous message "ERROR 1045 (28000): Access denied for user".
When I remove SSL from the instance, I can connect to it.
Even when using SSL, the IP of the cloud shell is automatically whitelisted. Still, cannot connect.
Any idea?
Thanks
goya
unread,
Jun 15, 2021, 8:02:40 AM6/15/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
When your Cloud SQL instance has SSL, you cannot directly connect to it from the Cloud Shell. You need to install the Cloud SQL Auth proxy in the Cloud Shell [1] and connect to the instance using it.