MySQL Forums :: InnoDB :: "InnoDB: Unable to lock ./ibdata1, error: 11"

Advanced Search

"InnoDB: Unable to lock ./ibdata1, error: 11"
Posted by: Slavoj Zuzek ()
Date: January 09, 2013 11:38AM

First i must mention I am a newbie, so please be patient. I have searched the forum for this error, but no post relates to my situation. I'm running ubuntu on VirtualBox. All i have done to the ubuntu installation is to install mysql-server and client, django and python-mysqldb. When I try to run mysqld command for the first time I get the mentioned "InnoDB: Unable to lock ./ibdata1, error: 11". I'm not doing anything else important as far as i know...

When i tried to apply the solution that i found on the web:

"mv ibdata1 ibdata1.bak
cp -a ibdata1.bak ibdata1"

...I get "No such file or directory" and even when I try to access the var/lib/mysql to get to that file i get "Permission denied". I don't know what more to do. So I would appriciate your help very much.

Options: ReplyQuote

Subject Views Written By Posted
"InnoDB: Unable to lock ./ibdata1, error: 11" 19187 Slavoj Zuzek 01/09/2013 11:38AM
Re: "InnoDB: Unable to lock ./ibdata1, error: 11" 6350 Rick James 01/10/2013 09:33PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.