Sometimes it requires to quickly create a clone of the MySQL database while working on the project either for the backup purpose, using it on a copy of the project, or moving the project.
With phpMyAdmin, this process is easier.
In this tutorial, I am assuming that you already have a cPanel enabled web hosting server.
Within the project sometimes requires using multiple MySQL databases. It may be the existing database from another project or the new one.
To handle this with PHP requires to create separate connections for each database and use the connection accordingly while manipulating data in MySQL database.