Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any repo that will let me install mysql 5.0.51a on Ubuntu 10.04, or do I have to install it from scratch?

Sincerely Tyler

share|improve this question
Do you really need MySQL 5.0? Won't MySQL 5.1 work? – joschi Aug 29 '10 at 6:55

Add this source to your sources.list:

deb hardy-security main

do an apt-get update and then aptitude search mysql-server-5.0 should return a result.

share|improve this answer
This worked for me after removing the file /var/lib/mysql/debian-5.1.flag – Andy Shinn Feb 8 '12 at 17:45

One thing you can try is to install the .deb file from an older version's repository. It appears Hardy's repository has the .deb you are looking for. One issue with this method are dependencies that might pop up for libraries too old or, in this case probably, too new for the version of MySQL you want to use. Wouldn't hurt to try, though.

DEB Page:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.