Unable to connect to CloudSQL Instance with MYSQL

Skip to first unread message

Ronaldo Fortunato Lopes

May 11, 2021, 9:32:52 AM5/11/21
to Google Cloud SQL discuss
I am unable to connect to a Google Cloud SQL instance. I get the error: [MySQL] [ODBC 5.1 Driver] Can't connect to MySQL server on 'XX.XXX.XX.XXX' (10060)

The IP from which I try to connect is a fixed ip and is registered in the list of allowed IPs in the Cloud SQL instance.

The machine that needs to connect is a Windows server with Windows Server 2016 operating system and can connect to other instances of Google Cloud SQL. We only have problems connecting to this instance. Another detail of the error is that the ping performed on my Windows instance returns total loss in relation to the Cloud SQL instance IP. Finally, I can access the databases using my local internet or another server.

I will be very grateful if someone can give me a tip to identify the problem


May 13, 2021, 9:46:21 AM5/13/21
to Google Cloud SQL discuss
I see that you're using ODBC 5.1.
It is recommended to use Connector/ODBC 8.0 according to link [1]

Reply all
Reply to author
0 new messages