phpstudy mysql 命令行 No connection. Trying to reconnect... Connection id: 22 Current database: **

Posted 网安

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了phpstudy mysql 命令行 No connection. Trying to reconnect... Connection id: 22 Current database: **相关的知识,希望对你有一定的参考价值。

原因很简单,因为你在mysql的配置文件my.ini里面配置了wait_timeout(超时等待时间),interactive_timeout(活动超时)你把值设置小点就可以解决这个问题。 我设置的是值10。希望能帮到你。

以上是关于phpstudy mysql 命令行 No connection. Trying to reconnect... Connection id: 22 Current database: **的主要内容,如果未能解决你的问题,请参考以下文章

(2020上半年第8天)小迪网络安全笔记(问题②)phpstudy怎么着mysql命令行

命令行操作mysql

0数据库安装

Mysql基本操作

phpstudy安装好之后mysql无法启动(亲测可行)

mysql数据库外连