Comment 2 for bug 1964910

Revision history for this message
Lena Voytek (lvoytek) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Looking into the error: "ERROR: Database files are locked. Daemon already running?" and the statement in mysql's error.log "[InnoDB] Unable to lock ./ibdata1 error: 11" leads me to believe that this is a duplicate of LP #1960971. I will mark it as such. If you have any additional information or think this is incorrect please let me know.

This may have been caused by uninstalling and reinstalling mysql. In the dpkg history it shows the following commands:

apt install mysql-server
apt-get purge mysql*
apt-get install mysql-server
apt-get purge mysql*
apt install mysql-server
apt-get purge mysql*
apt upgrade
apt-get install mysql-server
apt-get purge mysql*
apt-get install mysql-server
apt-get purge mysql*
apt-get autoremove
apt install mysql-server

The previous installs may have blocked the new ones from completing. Did you receive an error message every time you installed, or only the last time? Was there a specific reason for uninstalling and reinstalling?

Thanks