Mysql修改密码时报错Can’t Create Thread: Errno 11解决
今天安装完mysql后,想修改一下密码,运行一下
myqladmin -u root password 'password'显示报错,
报错信息如下,
Can't create a new thread (errno 11); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug'
还以为是内存不足的问题,free -m 看了一下没问题。Google一下,说是ulimit 了max processes,
进入到/proc/`pidof mysqld`/limits 看了一下 max processes 设置才10
马上ulimit -u 4096
重启mysql service 搞定。
bitsCN.comCopyright © 2019- fqic.cn 版权所有
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务