How to access phpmyadmin after installation?

Notice: This post is more than a year old. It may be outdated.

You’ve just installed phpmyadmin from your package manager and want to access it. Here’s what you need to do. I’ve used Ubuntu in this example so the paths might vary from distro to distro.

You need to add phpmyadmin’s conf to apache2.conf.

$ sudo echo "Include /etc/phpmyadmin/apache.conf" >> /etc/apache2/apache2.conf

All that needs to be done now is to restart apache.

$ sudo /etc/init.d/apache2 restart

Point your browser to http://localhost/phpmyadmin and you should be presented with phpmyadmin’s login page.

comments powered by Disqus