w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Unable to connect to Google Cloud SQL instance using a client mysql CL tool

I had the same issue, after a few minutes I got it going..

  1. Make your GCE service has cloud SQL enabled (during instantiation)
  2. Have a static ip for your GCE instance (you can use cloud console even while instance is running), and configure cloud SQL to accept this ip
  3. set a root password for the cloud SQL

then your command is mysql --host= --user=root --password=





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.