Take the 2-minute tour ×
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. It's 100% free, no registration required.

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

2 Answers 2

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

 
discard

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.