mysql使用一段时间后经常不能登陆

发布于 2022-10-03 11:58:46 字数 1979 浏览 20 评论 0

mysql使用一段时间后经常不能登陆,提示的错误为
can't connect to local mysql server through socket  '/tmp/mysql.sock'(2)

检查xxxx.err文件,里面的一段如下
050724 13:52:21  mysqld restarted
/usr/local/mysql/libexec/mysqld: ready for connections

Number of processes running now: 1
mysqld process hanging, pid 4347 - killed
050724 13:52:25  mysqld restarted
/usr/local/mysql/libexec/mysqld: ready for connections

Number of processes running now: 1
mysqld process hanging, pid 4370 - killed
050724 13:52:26  mysqld restarted
/usr/local/mysql/libexec/mysqld: ready for connections

Number of processes running now: 1
mysqld process hanging, pid 4393 - killed
050724 13:52:26  mysqld restarted
/usr/local/mysql/libexec/mysqld: ready for connections

Number of processes running now: 1
mysqld process hanging, pid 4416 - killed
050724 13:52:27  mysqld restarted
/usr/local/mysql/libexec/mysqld: ready for connections

Number of processes running now: 1
mysqld process hanging, pid 4439 - killed
050724 13:52:27  mysqld restarted
/usr/local/mysql/libexec/mysqld: ready for connections

Number of processes running now: 1
mysqld process hanging, pid 4462 - killed
050724 13:52:28  mysqld restarted
/usr/local/mysql/libexec/mysqld: ready for connections

Number of processes running now: 1
mysqld process hanging, pid 4485 - killed
050724 13:52:29  mysqld restarted
/usr/local/mysql/libexec/mysqld: ready for connections

Number of processes running now: 1
mysqld process hanging, pid 4508 - killed
050724 13:52:29  mysqld restarted
/usr/local/mysql/libexec/mysqld: ready for connections

好像在频繁重起。不知何故!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

只等公子 2022-10-10 11:58:46

帮你顶一下吧

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文