How to make phpMyAdmin work in Ubuntu server.

  1. Install phpMyAdmin:

    1
    $ sudo apt-get install phpmyadmin
  2. Add phpMyAdmin configuration file(following line) to apache configuration file /etc/apache2/apache2.conf:

    1
    Include /etc/phpmyadmin/apache.conf
  3. Done! Now go to http://localhost/phpmyadmin to use it.

Reference:
phpMyAdmin