On default installation Ubuntu will setup mysql-server-5.0 automatically for you  Some users may want to use mysql-server-5.1, and they usually execute:

$sudo apt-get install mysql-server-5.1

What about if we want to rollback or downgrade back to 5.0. Ubuntu will complaints for dependencies and returns dpkg error messages. So how to solve the problem? Remove all files in /var/lib/mysql EXCEPT your MySQL DATABASES.
After that execute:

$sudo apt-get autoremove –purge mysql-server mysql-server-5.1 mysql-common mysql-client
$sudo apt-get install mysql-server mysql-server-5.0

This shoulde solve the error.

Bagikan halaman ini
Kategori: Linux

1 komentar pada “How to Downgrade or Remove or Reinstall MySQL in Ubuntu Jaunty”

Edgardo · Desember 24, 2012 pada 03:28

Oh my goodness! Amazing article dude! Many thanks,
However I am experiencing troubles with your RSS.
I don’t understand why I am unable to join it. Is there anybody else getting similar RSS problems? Anyone who knows the solution can you kindly respond? Thanx!!

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *

Seo wordpress plugin by www.seowizard.org.