Most webmasters opt for phpMyAdmin to manage their MySQL database on their VPS or dedicated server, but sometimes you may end up getting 404 “Not Found” error when you point your browser to phpmyadmin installation (say like: http://127.0.0.1/phpmyadmin). This error is most likely caused by not selecting “Apache 2″ during the installation. To fix it, you must redo the phpmyadmin installation.
Enter the following in your terminal:
sudo dpkg-reconfigure -plow phpmyadmin
Reinstall database for phpmyadmin: Select “No”

Web server to reconfigure automatically: Select “apache 2″

It should work now. If not, do the following to include the phpMyadmin-shipped Apache configuration into Apache:
sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
Restart apache:
sudo /etc/init.d/apache2 restart
That’s it. Let me if you have any doubts in the comment.
Hi,
Thanks for the tutorial, but I still get the 404 Not found !!
what to do then??
Did you include the phpMyadmin-shipped into your apache config file?
Works on debian;D
Thanks
Thanks! Worked for me(mint)
Thanks. Worked with sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf on Ubuntu 11.04. Had installed phpmyadmin and lamp-server using apt-get
I am glad it works for you guys!
wow it was that easy. fixed my problem in Ubuntu server 10.04. It took me a minute to figure out how to select “Apache 2″. All you have to do is hit the space bar if anyone else reads this.
Same here. Big thanks, I would never ever hit the space bar!
Thank you!!!
It worked:)
You’re welcome, Aparna!
Thanks, your advice helped me.
2nd fix got it going right away, you are a rock star!!!
Thanks!! wrote sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf now it works
Thanks is great worked for me. tyt
Thanks works well.
thanks! ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf was it!
Works on my Ubuntu 12.04! Thank you!
Awesome, works great. Thx.
I learning from here:
http://www.robotmedia.net/2011/04/how-to-create-an-amazon-ec2-instance-with-apache-php-and-mysql-lamp/
I am using ubuntu server 1204 on amazon EC2
and this
this
sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
really works, 404 error fixed thanks!
Amazing tips… Really works for me!
Thanks it work great
Thanks a lot man!!
Works like a charm!!
Thanks again..
Thank you, it works perfect!!!!
[...] like http://yourserverip/phpmyadmin and you get error 404 Not Found follow the guide in: How to fix phpMyAdmin 404 Not Found error in Ubuntu . It is for ubuntu but will work on debian [...]
Perfect with Debian 6 Squeeze: Just omitted Sudo and entered this:
ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
works on ubuntu 12.04.01 unity ^^
thanks
work on ubuntu 12.04
thans…
Thank you, it worked!
Your solution was right on and solved the 404 problem quickly. Thanks.
I am 70 years old now and couldn’t afford to play on computers without the help you and those like you offer. I thank you so much.
Rex
Hey Rex,
I am glad you found my tutorial useful.
- Santhosh.
Thanx
your solution working fine
Thank’s worked for me.
it`s work ! ubuntu 12.04 LTS
After 30 minutes of this noob looking through config files, I found your page and voila! – my 404 problem was fixed in 10 seconds! Thanks!
Thanks! you save my life!
Thank you so so much sir! I was mad finding a solution of this. Your article helped me a lot!
Fixed it – thanks a ton!
Worked for Ubuntu 12.10. I had to create the link and restart Apache though.
Thanks!
Thankzzzzzzzzzzzz.
It’s work!!!!! on KUBUNTU 12.10
2nd soluation is worked thanks
I had this problem, including the phpMyadmin-shipped Apache configuration helped me in this case. On Ubuntu 12.10. Thanks a lot!
really helpful (Ubuntu 10.10 on VBox) – that’s what I was looking for… Thanks!!!
Thx!
The command
sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
worked perfectly for my rspberry pi (wheezy)!
I adress phpMyAdmin thru port 443 (SSL).