How to Install PhpMyAdmin on Ubuntu / Debian

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:
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!
Install these packages without verification [y/N]? y
Get:1 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/

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.