Upgrade phpMyAdmin
Updated on 18 Feb 2020
Backup your old phpMyAdmin
Just in case something goes wrong, you can back up your old phpMyAdmin folder by renaming it, and then create a new phpMyAdmin folder.
sudo mv /usr/share/phpmyadmin/ /usr/share/phpmyadmin.bak
sudo mkdir /usr/share/phpmyadmin/
cd /usr/share/phpmyadmin/
Download and Extract latest version
Go to the phpMyAdmin download page and look for the latest files to download.
Download the .tar.gz file using wget, extract the files and move the languages files into the top-level directory.
sudo wget https://files.phpmyadmin.net/phpMyAdmin/5.0.1/phpMyAdmin-5.0.1-all-languages.tar.gz
sudo tar xzf phpMyAdmin-5.0.1-all-languages.tar.gz
sudo mv phpMyAdmin-5.0.1-all-languages/* /usr/share/phpmyadmin
See the latest version
Now when you navigate to http://localhost/phpmyadmin
, you should see the latest version of phpMyAdmin installed.