Home > MySQL > InnoDB: Unable to lock ./ibdata1

Problem:
InnoDB: Unable to lock ./ibdata1

Solution:
cd /var/lib/mysql/
mv ibdata1 ibdata1.bak
cp -a ibdata1.bak ibdata1

mv ibdata1 ibdata1.bak
cp -a ibdata1.bak ibdata



Flag Counter