Tuesday, March 15, 2016

[google-cloud-sql-discuss] Re: "Lost connection to MySQL server" in Cloud Proxy

Thanks Vadim.

I've run telnet on GCE instance and it seems successfully connected to Cloud SQL instance.

$ telnet <INSTANCE IP> 3307
Trying <INSTANCE IP>...
Connected to <INSTANCE IP>.
Escape character is '^]'.

Just after running above command, I retried to connect from mysql, but no luck.

$ mysql -u DB_USER_NAME -S /tmp/cloudsql/PROJECT_NAME:asia-east1:INSTANCE_NAME
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/307e30bc-a668-4e90-a738-68685ff2862e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment