I got an error when starting mysql: Unable to lock ./ibdata1, error: 11

人走茶凉 提交于 2019-12-02 10:13:46

this is one of the issue using NFS for MySQL , one quick solution can be found on

http://onaxer.com/blog/blog/2010/06/01/innodb-unable-to-lock-ibdata1-error-37/

Did you restart mysql with the wrong user at some point? What were the permissions on the file and the directory it was in?

I guess some other process is talking to this resource/file you don't have the right permissions on that file.
You could restart the computer as an easy solution.
If that does not help, you need to find out out who else is using that file. But first, check permissions.

Found out that this is a known bug when using mysql on NFS.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!