1. 程式人生 > >解決MySQL Error (2013): Lost connection to MySQL server at waiting for initial communication packet

解決MySQL Error (2013): Lost connection to MySQL server at waiting for initial communication packet

【錯誤內容】:SQL Error (2013): Lost connection to MySQL server at 'waiting for initial communication packet', system error: 0

【錯產生經過】:連結MySQL時出現.

【解決辦法】:開啟my.ini,找到[mysqld]項,在其後加入一句:skip-name-resolve,儲存,重啟mysql服務即可~

相關推薦

解決1129 host is blocked和MySQL Error (2013): Lost connection to MySQL server

首先說一下我這個問題產生的原因: 由於我的mysql連線的是公司的一臺主機上的服務,下班回家時更新了程式碼,重啟專案到一半的時候由於比較急就直接帶著電腦回家了(公司的主機外網不能訪問),所以資料庫連線就產生了錯誤,然而一直連線重試再連線導致了錯誤次數超過了max_conne

解決MySQL Error (2013): Lost connection to MySQL server at waiting for initial communication packet

【錯誤內容】:SQL Error (2013): Lost connection to MySQL server at 'waiting for initial communication packet', system error: 0【錯產生經過】:連結MySQL時出現.

MySQL報錯解決方案:2013-Lost connection to MySQL server

安裝 今天 線下 ice 開啟 網絡 重新 round 報名 今天上課的時候,在搭建完MySQL測試環境中出現的問題,整理如下: 問題描述:搭建完MySQL,用遠程連接工具(Navicat)連接時報錯: 2013-Lost connection to MySQL serve

解決Navicat遠端伺服器2013-Lost connection to MYSQL server at 'reading for initial communication packet'

解決過程:       (3)如果還有問題,請判斷網路問題。(我之前使用跳板IP連線,一直解決不了問題,後來使用內網之後直接就解決了問題,不知道具體錯誤出現在何處?大神之前幫助我也沒解決這個問題。) 可能上面說的都很簡單,而且思路都是別人的,這也是花費

解決workbench MySQL Error Code:2013. Lost connection to MySQL server during query

在MySQL中新建表格時出現了lost connection to MySQL的問題,在網上查了許多的方法修改timeout,max_allowed_packet。 一種方法是在cmd中修改value,但是我重啟mysql以後值就會恢復預設值,下面是修改的方法; 可以用show g

手把手解決Mysql錯誤:Lost connection to MySQL server at 'reading authorization packet', system error: 0

----------------------------------------------------------------------首先是如何更改Mysql設定-----------------------------------------------------

Mysql max_allowed_packet Lost connection to MySQL server during query [Err] 2013 - Lost connection to MySQL server during query

[Err] 2013 - Lost connection to MySQL server during query 解決方法: [mysqld] max_allowed_packet=20971520 我設的是20M(1024*1024*20) = 20971520

Lost connection to MySQL server at 'reading initial communication packet', system error: 104

報錯 SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 104 "Connection reset by pe

MySQL查詢錯誤程式碼: 2013 Lost connection to MySQL server during query

問題 遇到錯誤程式碼: 2013 Lost connection to MySQL server during query 分析 有許多原因,主要可能是wait_timeout,於是查詢各超時變數 SHOW VARIABLES LIKE "%timeout%"

使用navicat連接mysql連接錯誤:Lost connection to Mysql server at 'waiting for initial communication packet'

-a 無法連接 through cal .com 圖片 查找 解決 host 使用navicat時,報錯截圖如下: 原因分析: mysql開啟了DNS的反向解析功能,這樣mysql對連接的客戶端會進行DNS主機名查找。 mysql處理客戶端解析過程: 當

Mysql連接錯誤:Lost connection to Mysql server at 'waiting for initial communication packet'

註釋 機器 錯誤 命令 添加 tab localhost grant my.cnf配置 原因分析: mysql開啟了DNS的反向解析功能,這樣mysql對連接的客戶端會進行DNS主機名查找。 mysql處理客戶端解析過程: 1)當mysql的client連過來的時候,服

連線Mysql報錯lost connection to MySQL server at "waiting for initial communication packet

打開了3306埠,設定了user表host為'%',依然無法連線,telnet 3306埠不同,原因是配置檔案中設定了 bind-address: 127.0.0.1,(/etc/mysql/mysql.conf.d/sqld.cnf )把他註釋掉,埠能連上,但是又報下面的錯誤 lost conn

遠端連線mysqlLost connection to MySQL server at 'waiting for initial communication packet', system err”

  現象 使用Navicat遠端連線mysql。無法連線成功。 這裡發個帖總結一下mysql配置遠端連線相關的一些東西。   1.開啟遠端連線(在mysql下操作) 授權root使用者 GRANT ALL PRIVILEGES ON *.* TO 'r

ERROR 2013 (HY000): Lost connection to MySQL server解決方法

1、進入mysql,建立一個新使用者root,密碼為root:   格式:grant 許可權 on 資料庫名.表名 to 使用者@登入主機 identified by "使用者密碼";            grant select,update,insert,dele

mysql無法連線遠端資料庫(ERROR 2013Lost connection to MySQL server

ERROR 2013 (HY000) Lost connection to MySQL server at ‘reading authorization packet’ 重啟mysql不行就重啟Windows伺服器!!!!!! 重啟mysql不行就重啟Windows伺服器!!!!

ERROR 2013 at line 38: Lost connection to MySQL server during query

我的資料庫是mysql4.0 1、首先進入mysql。進入資料庫(use databases), 2、輸入: source scansealdb.sql (前提是必須把sql指令碼放到mysql\bin\目錄下) 3、在次輸入cmd.輸入命令:net start mysql。(

_mysql_exceptions.OperationalError: (2013, 'Lost connection to MySQL server during query')

RR 時間 bsp strong span serve 方式 同事 clas 最近寫了一個定時腳本,每天淩晨跑,每次跑時間很長。 在測試這個腳本的時候,跑了一個小時,發生一個錯誤,腳本中斷,錯誤如下: _mysql_exceptions.OperationalE

MySQL中查詢時"Lost connection to MySQL server during query"報錯的解決方案

解決 lose tool 查詢 不用 resolv 原因 網上 技術 一、問題描述: mysql數據庫查詢時,遇到下面的報錯信息: 二、原因分析: dw_user 表數據量比較大,直接查詢速度慢,容易"卡死",導致數據庫自動連接超時.... 三、解決辦法: 方案1.在my

mysql鏈接錯誤:Lost connection to MySQL server at 'reading authorization packet', system error: 0

綁定 ati hostname .cn 進行 通過 bin 主機名 反向 在遠程連接mysql的時候,連接不上,出現如下報錯:Lost connection to MySQL server at ‘reading authorization packet‘, system

MySQL報錯解決方案:2013-Lost connection server at 'waiti

今天上課的時候,在搭建完MySQL測試環境中出現的問題,整理如下: 問題描述:搭建完MySQL,用遠端連線工具(Navicat)連線時報錯: 2013-Lost connection to MySQL server at 'waiting for intial communication packet',