2016-03-14 02:30:29 58150 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35 2016-03-14 02:30:29 58150 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
相关问题
- Is shmid returned by shmget() unique across proces
- sqlyog export query result as csv
- NOT DISTINCT query in mySQL
- how to get running process information in java?
- MySQL: conduct a basic search
I guess it should say "There is another solution: the problem might be AppArmor". If you do not see an entry in
/var/log/apport.log
, then probably AppArmor is not the problem.An intriguing solution, however.
Believe it or not, the solution is elsewhere. The problem stems from AppArmor misconfiguration apparently.
So just do:
and then restart MySQL (notice how fast it'll restart).
I noticed a file missing related to AppArmor when doing:
Voila.
First, list MySQL processes using the ps command:
And then kill the process