Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 installed php5 from the Software-Center and it came along with Apache2.

How can I install MySQL database along with phpMyAdmin?

share|improve this question
up vote 10 down vote accepted

To install phpMyAdmin open the terminal (Ctrl+Alt+T) and enter this command: sudo apt-get install phpmyadmin

To run phpMyAdmin open your browser and, in the URL bar put this: http://localhost/phpmyadmin

Do no forget to restart Apache.

share|improve this answer
where is /var/www set? How would I go about changing it? – C_B Apr 23 '14 at 9:43
Take a look at this post. Search on the site or ask a new question. – Lucio Apr 23 '14 at 15:16

phpmyadmin install command :

sudo apt-get install phpmyadmin

You need to creat a symbolic link into your /var/www for starting phpmyadmin when you type : http://localhost/phpmyadmin

ln -s /etc/phpmyadmin /var/www/phpmyadmin
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.