MySQL错误 Forcing close of thread *** user: '****

问答中心分类: DatabaseMySQL错误 Forcing close of thread *** user: '****
cxxc asked 9 年 ago
最近两天总出现mysql连接不上,查看日志文件有显示“2016-05-18 16:05:10 7184 [Warning] /usr/local/mysql/bin/mysqld: Forcing close of thread 32 user: '****' ”
网上查找解决方案,是要修改/etc/my.cnf,增加skip-external-locking  skip-name-resolve。但事实上已包含这两行了……
因此想请教下,大概是什么原因导致错误发生呢?

1 Answers
oneinstack answered 9 年 ago
没碰到过,/etc/hosts 把主机名和ip对应下试试