Upgrade PhpMyAdmin in CWP

phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. phpMyAdmin supports a wide range of operations on MySQL, MariaDB and Drizzle. Frequently used operations (managing databases, tables, columns, relations, indexes, users, permissions, etc) can be performed via the user interface, while you still have the ability to directly execute any SQL statement.


:Lets Upgrade:


1) Make backup of PhpMyAdmin (In case we do anything wrong).

mkdir /home/phpmyadmin_backup
cp -rv /usr/local/apache/htdocs/phpMyAdmin/* /home/phpmyadmin_backup


2) Download and extract PhpMyAdmin.

cd phpMyAdmin-4.3.12-all-languages


3) Move all files to old PhpMyAdmin folder.

yes | cp -rv * /usr/local/apache/htdocs/phpMyAdmin/


4) Correct permission of all the files.

cd /usr/local/apache/htdocs/phpMyAdmin/
chown -R nobody:nobody *


5) Restart Apache.

service httpd restart


6) Now login to check version (http://your-ip/phpMyAdmin/)


You have successfully upgraded PhpMyAdmin

  • 4 Users Found This Useful
Was this answer helpful?