Why mysql don't start in ubuntu server?

gggigi asked:

I edit mysql config for remote connect, I paste there

bind_address = 0.0.0.0 

After it i tryed to restart (sudo /etc/init.d/mysql restart or start) but I see fail of it in both commands.

in logs i have this:

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

I move back bind_address = 127.0.0.1, but can’t start mysql too.
Why? What I need to do?

My answer:


MySQL is already running. Kill the existing MySQL server processes manually before trying to start it again.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.