[Bug 316974] Re: Mysql dead after update

Alfredo Deza arufuredosan at gmail.com
Mon Jan 26 15:02:39 GMT 2009


I had the same problems when installing Mysql-server-5.1 and had to
uncomment the line to skip-bdb.

Now to upgrade, I was getting the same errors as people in this thread.

The current problem was fixed for me doing the following:

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

At this point Mysql will complain that it can't read /etc/mysql/my.cnf
but this is triggered because it no longer installs the configuration
file named as my.cnf but as debian.cnf (Would this need be reported as
another bug?)

After it complains do:
sudo cp -a /etc/mysql/debian.cnf /etc/mysql/my.cnf

Now once again:
sudo apt-get install mysql-server-5.1

This corrected everything for me and now I have mysql installed and

Mysql dead after update
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu.

More information about the Ubuntu-server-bugs mailing list