Article directory
For WordPress users, when trying to disable comments on WordPress websites in bulk using phpMyAdmin , a bunch of English prompts will appear...
It usually means let's fix the table, and then tragedy strikes...
Next, checking the database structure shows that it is "in use"...
As shown in the screenshot below▼

The inability to access e-commerce websites at this time will inevitably result in significant losses...
Have any users of the VestaCP panel encountered a similar situation?
- When phpMyAdmin checks, optimizes and repairs data tables, it can't solve...
- The problem is because the permissions are not enough, so we need to re-grant the permissions.
how to grantMySQL/MariaDB data table permissions?
Step 1: Use SSH software to enter the following command ▼
chown mysql:mysql -R /usr/local/mysql/ chown mysql:mysql -R /data/mysql/
- at this time,MySQL/MariaDB data table permissions will be reassigned.
Step 2: Open phpMyAdmin and switch to that database.
Step 3: Select the data table in "In Use".
Step 4: Click "Repair Table" below.
- Finally you can see that the data table is back to normal.
Attention points
Chen Weiliang suggests:
- You must develop a good habit of regularly backing up your website database, and you must deeply understand this.
- Otherwise, once the MySQL/MariaDB data table crashes again, you don't have a backup, so don't regret it!
For more MySQL database issues and solutions, please click the link below ▼
Hopefully, the article "How to solve the problem of phpMyAdmin displaying MySQL/MariaDB data tables?" shared on Chen Weiliang's blog ( https://www.chenweiliang.com/ ) will be helpful to you.
Feel free to share this article's link: https://www.chenweiliang.com/cwl-1101.html


