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.


[1]: 
https://cloud.google.com/sql/docs/mysql/connect-admin-ip#:~:text=The%20gcloud%20sql%20connect%20command%20does%20not%20support%20connecting%20to%20a%20Cloud%20SQL%20instance
 


On Tuesday, June 15, 2021 at 8:16:58 AM UTC+2 [email protected] wrote:

>
> 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
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e7a1a5b0-8957-439f-b747-9025117d39dcn%40googlegroups.com.

Reply via email to