Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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. –  Capt.Nemo Jul 26 '12 at 2:09
add comment

7 Answers

You just need to make a symbolic link to the installation in your server root. Mine is in /var/www/ so:

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

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

http://localhost/phpmyadmin

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 at 22:18
add comment

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:

http://localhost/phpmyadmin/

(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
add comment

http://127.0.0.1/phpmyadmin

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

read: https://en.wikipedia.org/wiki/Localhost

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

share|improve this answer
add comment

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
add comment

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
add comment

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 http://yourdomain.com/phpmyadmin, 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
add comment

Oh, usualy the phpmymadin 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
1  
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
1  
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
add comment

Your Answer

 
discard

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.