PhpMyAdmin is a nice database management and administration tool, it is easy to install it, but some people are having problems making it work under apache, that’s because it needs configuration. I presume you already have LAMP installed and configured on your machine, if not, please read this post – Install and Configure LAMP on Ubuntu first.
Just in case you haven’t installed phpMyAdmin yet, type the following line in the Terminal:
apt-get install phpmyadmin
To set up under Apache all you need to do is include the following line in /etc/apache2/apache2.conf, first type the following command to open up this file:
gksudo gedit /etc/apache2/apache2.conf
Add the following line of code inside apache2.conf:
Include /etc/phpmyadmin/apache.conf
Now restart Apache:
sudo /etc/init.d/apache2 restart
Point your browser to: http://domain/phpmyadmin, you should be able to see the phpMyAdmin landing page now!
Related Article:
Create a Subdomain Virtual Host on Ubuntu



thanks for the help it was vry helpfull
thanks dude, great job.
works like a charm
Hi, while i tried to login it is dhowing this error,
Login without a password is forbidden by configuration (see AllowNoPassword)
i faced the same problem.
As a solution i should thank to Tiganjero. I’ve found his post very useful.
Hope it helps.
http://ubuntuforums.org/showthread.php?t=1933988
Thanks. Works for me.
Many Thanks. It saved my time. Works fine.
Genial, Gracias me funcionó de maravillas. Dios te siga bendiciendo en conocimientos, porque asi podés ayudar a muchos.
Thanks a lot mate :D
wow!! it really help me
Thank you brother
Thanks dude.. my eight hour search ends now ;-)
Thank you very much, you helped me out dude!
Thanks
Dat was really helpful. Thnkd dude….
Great.. one line added to conf put me out of my misery. Thanks for the help.
Thanks.
Pingback: Ubuntu LAMP-part 1 | Garejoor
Works like a charm!
thank you :-)
I solved the http://127.0.0.1/phpmyadmin not found by your post on my ubuntu 11.0.4 virtualbox on my Window 7.
Then it asked me to input username and password to proceed.
I tried many username and password but failed.
How can I solve the above problem?
I was able to access to the phpmyadmin/index.pp page. thanks!!
Worked for me! Thank!
Thank you very much!
I did what the article said, and got it working in notime, even without touching apache conf, as the installer asks for the change.
Thanks!
Didn’t work
At lat worked..Thanks for info
it works really thank u
Thank you! That did work after installing LAMP.
Works like a charm.. Thanks a lot :)
Thanks, a big help.
after do that
/etc/init.d/apache2 restart
=>
The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
Thanks man! This did help me
Thanks This is working
Thank so much! This page is very helpful with me
It worked, thank you! :)
Pingback: Free Log Server with Web Access/Search – Ubuntu syslog-ng + Apache + MySQL + PHP +Webmin « Ryan Tian