Ubuntu – How to start phpMyAdmin

apache-http-serverMySQLPHPphpmyadminUbuntu

I have just installed phpMyAdmin on my Ubuntu (using sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin). I think installation went OK. So, how can I start the phpMyAdmin now?

I tried http://localhost/phpMyAdmin/index.php

I also tried http://localhost/phpmyadmin/scripts/setup.php

Both do not work.

I also need to add that I have installed Apache, PHP and MySQL. Everything works fine.

Best Answer

You need to update the file phpMyAdmin.conf to something like this:

<Directory /usr/share/phpMyAdmin/>
   order deny,allow
   #deny from all
   allow from all
</Directory>

or allow from <your IP address> if you intend to host this server.

Related Question