zxoojg
Last Updated: February 25, 2016
·
7.088K
· wavedocs

InnoDB: Unable to lock ./ibdata1, error: 11

Ошибка выглядит следующим образом:

InnoDB: Unable to lock /path/to/ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.

Останавливаем MySQL исправляем ошибку:

service mysql stop

либо

service mysqld stop 

Далее

mv /var/lib/mysql/ibdata1 /var/lib/mysql/ibdata1.backup
cp -a /var/lib/mysql/ibdata1.backup /var/lib/mysql/ibdata1