Google Cloud SQL:SQLSTATE [HY000] [2013]在“读取初始通信数据包"时与MySQL服务器的连接断开,系统错误:0 [英] Google Cloud SQL: SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 0

查看:104
本文介绍了Google Cloud SQL:SQLSTATE [HY000] [2013]在“读取初始通信数据包"时与MySQL服务器的连接断开,系统错误:0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很沮丧,因为我的Google Cloud SQL实例出现故障.我昨天可以毫无问题地连接到它,但是由于今天早上我无法以任何方式连接到它,它会产生以下错误:数据库服务器返回了此错误:SQLSTATE [HY000] [2013]断开了与之的连接MySQL服务器在读取初始通信数据包"时,系统错误:0

I'm desperate since my Google Cloud SQL instance went down. I could connect to it yesterday without problem but since this morning i'm unable to connect to it in any way, it produces the following error: The database server returned this error: SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 0

这是我尝试解决此问题的方法:

This is what I did to try to fix this:

  • 重启实例
  • 以CIDR表示法添加了授权的IP地址
  • 重置根密码
  • 还原的备份
  • ping ip地址,我得到响应

所有这些操作已完成,但我仍然无法通过以下方式进行连接:

All these actions completed but i'm still unable to connect through:

  • PHP
  • MySQL工作台
  • Ubuntu MySQL命令行

全无运气.我该怎么做才能修复Cloud SQL实例.还有其他人有这个问题吗?

All without luck. What could I do to repair my Cloud SQL instance. Is anyone else having this problem?

推荐答案

我来自Cloud SQL团队.我们正在调查此问题,应该尽快解决.请参见 https://groups.google.com/forum/#!topic/google-cloud-sql-announce/SwomB2zuRDo .更新将发布在该线程上(如果有什么特别重要的事情,我将编辑这篇文章).

I'm from the Cloud SQL team. We are looking into this issue, it should be resolved soon. See https://groups.google.com/forum/#!topic/google-cloud-sql-announce/SwomB2zuRDo. Updates will be posted on that thread (and if there's anything particularly important I'll edit this post).

该问题似乎仅影响来自Google Cloud外部的连接.通过App Engine和Compute Engine连接的客户端应该可以正常工作.

The problem seems to only affect connections from outside Google Cloud. Clients connecting from App Engine and Compute Engine should work fine.

这篇关于Google Cloud SQL:SQLSTATE [HY000] [2013]在“读取初始通信数据包"时与MySQL服务器的连接断开,系统错误:0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆