PhpMyAdmin is a web-based tool written in PHP to handle administration of MySQL database.
To install PhpMyAdmin on Ubuntu / Debian, execute this command:
$ sudo apt-get install phpmyadmin
Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: phpmyadmin 1 upgraded, 0 newly installed, 0 to remove and 236 not upgraded. Need to get 4351kB of archives. After this operation, 4096B of additional disk space will be used. WARNING: The following packages cannot be authenticated! phpmyadmin Install these packages without verification [y/N]? y Get:1 http://ftp.us.debian.org squeeze/main phpmyadmin 4:3.3.7-7 [4351kB] Fetched 4351kB in 20s (212kB/s) Preconfiguring packages ... (Reading database ... 27447 files and directories currently installed.) Preparing to replace phpmyadmin 4:3.3.7-5 (using .../phpmyadmin_4%3a3.3.7-7_all.deb) ... Unpacking replacement phpmyadmin ... Processing triggers for man-db ... Setting up phpmyadmin (4:3.3.7-7) ... dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf Replacing config file /etc/phpmyadmin/config-db.php with new version dbconfig-common: flushing administrative password 10611: old priority 0, new priority 0 Reloading web server config: apache2.
After that, you can access it on http://your_ip/phpmyadmin/