Reputation: 81
I have created a MySql server in Google Cloud SQL and trying it to connect it from my local machine using MySql Workbench but i am not able to establish a connection to it.
I get the following error Failed to Connect to MySQL at {IP-Address}:3306 with user root(10060)
Upvotes: 2
Views: 6365
Reputation: 737
If you are trying to connect from outside network to gcp sql instance you need to add your public ip of your machine in the connection of sql instance
Then check with your sql client or workbench
Upvotes: 12