MySQL How to install phpMyAdmin on the cPanel webhosting phpMyAdmin only can be accessed from cPanel, but because of the many menus and logins, this can cause problems with usability. On the cPanel interface, you must create a subdomain name under one domain name. The subdomain name can be created on the cPanel interface under Subdomains. For example: phpmyadmin.domain_name.tld. The default main page layout for cPanel is the Softaculous installer at the bottom of the page. Click any of the icons in the Categories section. At the top right of the page that appears, type phpmyadmin in the search box, and then click phpMyAdmin in the search results that appear. At the top of the page, click Install now. From the second drop-down list, select the subdomain you created. Click the + sign next to Advanced Options. Select Auto Upgrade. Finally, click the Install button. After installation, you can access phpMyAdmin from your browser. So you do not have to log in to the cPanel interface to access databases. How to Import a big size database Close the screen session, delete the uploaded SQL file Only phpMyAdmin can import a database with a size smaller than 50MB. In case you have DotRoll Plus, DotRoll Ultra or DotRoll Pro hosting, you have the option of importing a larger database. UPLOAD SQL DUMP Use an FTP client to copy the SQL dump you want to import to your storage. The file may be copied directly to the start directory of your storage (/home/username). MYSQL DATABASE, USER, PASSWORD, AND PRIVILEGES On the cPanel interface, in the MySQL databases menu, create a MySQL user and set a password. Also assign the generated user to the database you want to import. GENERATE SSH KEY, OR SET IT UP CONNECT VIA SSH PuTTY login In the Host Name (or IP address) field, enter the name of your main domain. Port is the default port 22. Next, click the “+” sign next to SSH. PuTTY login In the Private key file for authentication box, enter the key for the cPanel interface or the private key that you created earlier. You can then save the configuration, but you can also connect to your storage immediately. USING THE DATABASE IMPORT WITH SCREEN If you do not want to end the database import, enter the following command after the login: screen -S mysqlimport To import a database, you must issue the following command: mysql -udatabase_username -pdatabase_user_password -h localhost database_name