Comment 24 for bug 316974

Revision history for this message
Gurgel (sven-ola-eriksson) wrote :

This just worked for me on a 64-bit Ubuntu 11.10 Desktop machine, when in Kernel.log and the syslog having:

init: mysql main process (15527) terminated with status 1
init: mysql main process ended, respawning
init: mysql post-start process (15528) terminated with status 1

Another symptom is that the mysqld keeps disappearing an reappearing among the processes in in the system monitor.
I guess that is the same that is stated in the files above.

If you decide to try workaround, make sure to make a backup of db-files.

Workaround:
>sudo apt-get remove --purge mysql-server-5.1
>sudo apt-get autoremove
>sudo rm -rf /etc/mysql
>sudo apt-get install mysql-server-5.1

I also choose to set a new root password for mysql.

Then I also did:
>sudo apt-get install mysql-admin

Well... This got the server running and Admin GUI to work for me.
I was able to log in as root.

Now lets see if I get the backup-ed data into mysql again ;)