Databases
How to Add a User to a Database and Grant Privileges
Log in to your cPanel account. In the Databases section, click on MySQL Databases. Scroll down to the end of the page and under Add User to Database. Select a user from the drop-down list, and choose a Database from the list. Click on Add. On Manage User Privileges. Mark the box ALL PRIVILEGES and click on Make Changes.
Related: database, databases, privileges
How to Rename a Database in cPanel
Log in to your cPanel account. In the Databases section, click on MySQL Databases. Under Current Databases, you can see a list of all your databases. Locate the Database and then click on Rename. Change the database name and click on Proceed.
How to Repair a Database via phpMyAdmin in cPanel
Log in to your cPanel account. In the Databases section, click on phpMyAdmin. Click the Expand icon from the navigation tree in the left sidebar. Scroll down and mark Check All. Then click on the drop-down arrow and select Repair table. If the table has been repaired successfully, it will show an OK message. Otherwise, it will display an error on some tables.
Related: databases, phpmyadmin
How to Optimize a Database via phpMyAdmin in cPanel
Log in to your cPanel account. In the Databases section, click on phpMyAdmin. Click on the Expand icon from the navigation tree in the left sidebar. Scroll down and mark Check All. Click on the drop-down option and select Optimize tables. The table has been successfully optimized.
Related: optimize, phpmyadmin
How to Delete a Database in cPanel
Log in to your cPanel account. In the Databases section, click on MySQL Databases. Under Current Databases, you can see a list of all your databases. Locate the database you want to remove and click on Delete. Click on Delete Database.
Related: database