Check that mysql-server-5.1 package was
uninstalled, seems it might persist after upgrade. I had the same error
and had to purge MySQL server 5.1 and 5.5 then re-install.
First make a backup of your /var/lib/mysql/ directory just to be safe.
Next purge MySQL (this will remove php5-mysql and phpmyadmin as well
as a number of other libraries so be prepared to re-install some items
after this.
Remove the folder /etc/mysql/ and it's contents
Next check that your old database files are still in /var/lib/mysql/
if they are not then copy them back in to the folder then chown
root:root(only run these if the files are no longer there)
Next install mysql server
Finally re-install any missing packages like phpmyadmin and php5-mysql. |
Comments