How to Install phpMyAdmin?
Download phpMyAdmin from the official website.
Go to the downloads section of phpmyadmin.net and download the archive with the latest available version of phpMyAdmin to your computer.
Once finished, place the archive folder in your web directory. For convenience, rename it to “phpMyAdmin”.
Use these links http://localhost/phpMyAdmin or http://127.0.0.1/phpMyAdmin to access phpMyAdmin.
Installation from the Ubuntu repository
This method is useful only for Ubuntu users. To install phpMyAdmin:
Update the available package data. Run the command:
sudo apt update
Install phpMyAdmin. Run the command:
sudo apt install phpmyadmin
During installation, the system prompts you to set which web server you want to use to run phpMyAdmin. In the example, we use an Apache webserver.
Use the Tab key to go to the "OK" button. To press the "OK" button — the Enter key.
Set a password for the database. Follow the markers in the images.
Create a symbolic link to phpMyAdmin in the web directory.
ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin
To access phpMyAdmin on a local web server, use these links: http://localhost/phpmyadmin or http://127.0.0.1/phpmyadmin
Create a new database.
Log in to phpMyadmin using your Username and Password and go to the Databases section.
Enter the name of the new database and click “Create”.
After a brief time, the installation should be complete, and the platform should be ready to be used.
Enjoy!