How to Repair database via phpMyAdmin in cPanel?

1. Log into your cPanel account.

2. In the “Databases” section, click on “phpMyAdmin” Icon.

3. In left side-bar, Click on the expand button to expand database like “example”.

 

 

 

 

4. Under your cPanel username, you can see list of all databases. Select appropriate database which you want to repair.

5. Scroll down and mark “Check All” then click on the Drop-down option and select “Repair table“.

 

If table successfully repaired then it will show a “Ok” message otherwise it will show some error on few tables like “Error unknown engine” related errors.

How to optimize database via phpMyAdmin in cPanel?

1. Log into your cPanel account.

2. In the “Databases” section, click on “phpMyAdmin” Icon.

3. In left side-bar, Click on the expand button to expand database like “example”.

 

 

 

 

4. Under
your cPanel username, you can see list of all databases. Select appropriate database which you want to optimize.

 

5. Scroll down and mark “Check All” then click on the Drop-down option and select “Optimize tables“.

Table successfully optimized.

How to delete database table via phpMyAdmin in cPanel?

1. Log into your cPanel account.

2. In the “Databases” section, click on “phpMyAdmin” Icon.

3. In left side-bar, Click on the expand button to expand database like “example”.

 

 

 

 

4. Under your cPanel username, you can see list of all databases. Select appropriate database and it will be expanded and show tables of SQL.

5. Select appropriate table you want to delete like If you want to delete table “wp_links” then click on it.

6. Now click on the “Operations” option.

 

7. Scroll down and then click on the “Delete the table (DROP)“.

Warning: Whole table will be removed and it will be impossible to restore it specially If you don’t have a backup.

How to edit database table via phpMyAdmin in cPanel?

1. Log into your cPanel account.

2. In the “Databases” section, click on “phpMyAdmin” Icon.

3. In left side-bar, Click on the expand button to expand database like “example”.

 

 

 

 

4. Under
your cPanel username, you can see list of all databases. Select appropriate database which you want to edit and it will be expanded.

5. Select appropriate table you want to edit like If you want to edit table of WordPress and change blog name from phpMyAdmin then select “wp-options”.

6. Click on “Edit” option on 3rd raw.


7. Edit “My Blog” to different text and then click on “Go” button. 

 

 

 

 

 

 

By this method you can change value of SQL data of any software without accessing administrator area like If you can’t change theme from administrator area then you can use this method to change value of SQL and even you can change password of any account.

How to edit database table via phpMyAdmin in cPanel?

1. Log into your cPanel account.

2. In the “Databases” section, click on “phpMyAdmin” Icon.

3. In left side-bar, Click on the expand button to expand database like “example”.

 

 

 

 

4. Under
your cPanel username, you can see list of all databases. Select appropriate database which you want to export it to your PC.

5. Click on the “Export” button.

 

6. Select SQL format and then click on the “Go” button.

SQL file will be downloaded within few seconds but If size is large then it will take long time.

How to import database via phpMyAdmin in cPanel?


1. Log into your cPanel account.

2. In the “Databases” section, click on “phpMyAdmin” Icon.

3. In left side-bar, Click on the expand button to expand database like “example”.

 

 

 

4. Under your cPanel username, you can see list of all databases. Select appropriate database in which you want to import SQL.

5. Click on the “Import” button.

6. Under “File to Import” click on the “Browse” button, Select SQL file from your PC.

7. Scroll down and then click on theGobutton.

If its show a message in green box then it means your SQL is successfully uploaded.

How to add a user to a database and add privileges?

1. Log into your cPanel account.
2. In the “Databases” section, click on “MySQL Databases” Icon.

3. Scroll down to the end of the page and under “Add User to Database“, select a user from the dropdown list, and then choose a Database from the list.

4. Click on the “Add” button.

5. On “Manage User Privileges“, mark the box “ALL PRIVILEGES” and click on “Make Changes“.

How to Create a Database Username in cPanel?

1. Log into your cPanel account.
2. In the “Databases” section, click on “MySQL Databases” Icon.

3. Under “MySQL Users” in the “Username” field enter the new username you wish to create.
4. Enter your new password or use a password generator.
5. Click on the “Create a User” Button.

Tip: Write down the Database Username and Password on a notepad so that when you need them, you can easily recall them while installing a script manually.

How to delete a database in cPanel?

1. Log into your cPanel account.
2. In the “Databases” section, click on “MySQL Databases” Icon.


3. Under “Current Databases” you can see a list of all your databases. Locate the Database you wish to remove and then click on the “Delete” icon.

4. Click on the “Delete Database” button.

5. When you see a warning, click on the “Delete Database” button.

How to rename a database in cPanel?

1. Log into your cPanel account.
2. In the “Databases” section, click on “MySQL Databases” Icon.


3. Under “Current Databases“, You can see list of your all databases. Locate the Database and then click on “Rename” Icon.


4. Change database name and then click on “Proceed” button.