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 just finished installing mysql-server, and then installed phpmyadmin which came with Apache and PHP. It set it up alright and made a phpMyAdmin database, but I can't seem to find the URL to get to it -- I tried going to http://my.server.ip/phpmyadmin but it doesn't seem to be there.

I can't find the location in any of the manuals, does anyone know where this is located? Thanks.

share|improve this question
Try restarting apache, it should be in /phpmyadmin. – Abhay Rana Jul 26 '12 at 2:09

You just need to make a symbolic link to the installation in your server root. Mine is in /var/www/ (though check your DocumentRoot as default is often /var/www/html) so:

sudo ln -s /usr/share/phpmyadmin/ /var/www/phpmyadmin

After that, you'll be able to access trough localhost:


As for why is not installed by default in its right location, or the installer creates a symbolic link itself, I have no idea...

share|improve this answer
This is what I do and it has always worked. – Parto Feb 28 '14 at 22:18
If the Apache2 Default Page (index.html document that You access as localhost/index.html) is located in /var/www/html/, You have to execute sudo ln -s /usr/share/phpmyadmin/ /var/www/html/phpmyadmin Had to make this after upgrading to Apache 2.4. Now everything works fine, thanks. – Dmytro Dzyubak May 2 '15 at 0:00

Presumably you have Apache installed and that's what you use as your main web server (ie, it listens on port 80). If you have not done (much) customisation to your Apache install, it should be accessible at:


(If you're accessing the server from a different machine, then obviously substitute localhost).

The installer for phpMyAdmin installs a config file into /etc/apache2/conf.d/ called phpmyadmin, which sets up an alias. Look at this file to see how it works and where it should appear on your website.

If you have modified your Apache configuration, it's possible though unlikely that you have done something which overrides the directives in that phpmyadmin config file. In which case you should be able to fix phpmyadmin's configuration yourself to get it working how you like it.

share|improve this answer

or also http://::1/phpmyadmin or http://localhost/phpmyadmin


also, type "ip addr" to see your public address (or semi-public with NAT)

share|improve this answer

Try using:
<server_ip or localhost>/phpmyadmin/index.php
That might just do the trick. In the past this one solved it for me.

share|improve this answer

This answer is little bit more generic. To know the list of files installed by any package you have to do this

  1. Get the name of the package with dpkg --list | grep phpmyadmin
  2. For list of file installed use this dpkg --listfiles <package_name step 1>
share|improve this answer

I imagine that you probably are facing the same issue that I had the first time I installed phpmyadmin. Considering it's been over a year since you asked this, I'm assuming you've figured it out by now, but for future reference for others, if you can't see it when going to, you probably need to reconfigure the package, and make sure that you place a checkbox in the apache2 box (assuming that's what you're using for your server) by pressing the spacebar before you continue. I was going quickly and just pressed enter, not realizing that I hadn't selected apache2. To reconfigure the package, use the following:

sudo dpkg-reconfigure phpmyadmin
share|improve this answer

Oh, usually the phpmyadmin goes to /usr/lib/phpmyadmin if I'm not wrong.

I always need to move the folder to my www path.

share|improve this answer
Is in /usr/share/phpmyadmin/ in my installation. Please correct me if I'm wrong. – darent Nov 23 '13 at 22:54
yeah, perfect, you are totally right, and to make it work on localhost/phpmyadmin you must change some apache settings or move the folder to you www path – RagazziD Nov 24 '13 at 3:21
I find easier just ln the path to my server root, as I said in my answer, but I'm not an expert... – darent Nov 24 '13 at 15:51
you are right, u just solve the problem (: – RagazziD Nov 24 '13 at 18:44

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.