“基于Alpine的mysql Docker镜像”的版本间的差异

来自linux中国网wiki
跳到导航 跳到搜索
(创建页面,内容为“== = see also= =trouble shooting= [https://serverfault.com/questions/616696/lost-connection-to-mysql-server-at-reading-initial-communication-packet-syste Lost c…”)
 
第6行: 第6行:
  
 
=trouble shooting=
 
=trouble shooting=
 +
<pre>
 +
van@myxps:~$ mysql -uroot -p -h127.0.0.1
 +
Enter password:
 +
ERROR 2013 (HY000): Lost connection to MySQL server at 'handshake: reading initial communication packet', system error: 11
 +
 +
 +
解决办法 注释掉这行  skip-networking      跳过TCP/IP连接
 +
cat /etc/my.cnf.d/mariadb-server.cnf
 +
 +
[mysqld]
 +
#skip-networking
 +
</pre>
 +
 +
 +
 +
 +
 +
 +
  
 
[https://serverfault.com/questions/616696/lost-connection-to-mysql-server-at-reading-initial-communication-packet-syste Lost connection to MySQL server at 'reading initial communication packet', system error: 0 ]
 
[https://serverfault.com/questions/616696/lost-connection-to-mysql-server-at-reading-initial-communication-packet-syste Lost connection to MySQL server at 'reading initial communication packet', system error: 0 ]

2021年8月18日 (三) 08:47的版本

==


see also

trouble shooting

 van@myxps:~$ mysql -uroot -p -h127.0.0.1 
Enter password: 
ERROR 2013 (HY000): Lost connection to MySQL server at 'handshake: reading initial communication packet', system error: 11


解决办法 注释掉这行  skip-networking      跳过TCP/IP连接
cat /etc/my.cnf.d/mariadb-server.cnf

[mysqld]
#skip-networking





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