Connect MySQL Workbench with an instance of mysql in Google Compute Engine

0

I have a Google Compute Engine instance in which I create an instance of mysql. I would like to know how I can connect to this instance from MySQL Workbench?

    
asked by israel 27.06.2017 в 03:10
source

1 answer

1

Google Cloud has quite strict connection rules.

for local development recommend using proxy using Cloud SQL Proxy

basically it's a proxy that allows you to connect your machine to the SQL server.

Another case is the machine that will use the SQL server recurrently, it must be added to the valid ip of the firewall ( VPC Network)

The steps are:

  • go to the Google Cloud console
  • VPC Network
  • firewall rules
  • add the ip that can access the sql server
  • Unfortunately the entire documentation is in English

        
    answered by 22.08.2017 / 05:14
    source