Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

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

I researched a lot but could not find any link which gives step by step procedure. Everywhere, there are vague answers. Can someone please give me steps to be followed to install Mysql 5.1 ?

It gives me an error and stop the execution even when i use -f. This is the message from command prompt.

The following packages have unmet dependencies: mysql-server-5.1 : Depends: mysql-client-5.1 (>= 5.1.61-0ubuntu0.10.10.1) but it is not going to be installed

share|improve this question
edited answer - try that – Phil Mar 22 '12 at 14:27
Same message even after trying sudo apt-get install mysql-server-5.1 mysql-client-5.1 – vinny Mar 22 '12 at 14:55
Are you sure it didn't tell you what the unmet dependencies are? – Phil Mar 22 '12 at 15:12
it gave me number of unmet dependencies... here they are Depends: libdbd-mysql-perl , Depends: mysql-common, Depends: libmysqlclient16 , Depends: mysql-server-core-5.1, PreDepends: mysql-common – vinny Mar 26 '12 at 14:39
up vote 2 down vote accepted
sudo apt-get install mysql-server-5.1 mysql-client-5.1 

... from the command prompt should just work.

If not, edit your question with the full error messages you are seeing.

Post-installation steps are summarized in this blog post.

share|improve this answer

Try this

sudo apt-get install mysql-server

from the terminal

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.