#1030 - Got error 176 "Read page with wrong checksum" from storage engine Aria
I was attempting to add a user to a new database with 'Privileges' and received this error: "#1030 - Got error 176 "Read page with wrong checksum" from storage engine Aria"
Select mysql from the list of databases. From the Table list, tick the box beside 'db'. Scroll to the bottom of the page, in the selection box that says 'With selected' scroll down to and select 'Repair Table' then select 'Go'. Worked for me .:m
In my case above solution not worked. But the solution is similar to suggest by the @user13439511
Follow the below steps.
Select "mysql" database from the list of database.
Select all tables inside "mysql" database.
Scroll down and select "Repair Table" option in combobox.
Click on Go button.
Done.
Spent a long time trying to fix this, but the repair method wasn't working. MySQL repairs thinks it fixed all the tables, but it wasn't fixing the error (checking the tables showed they still had errors).
I did fix it by dropping and recreating the affected tables. Instructions as follows:
- Select the 'mysql' database
- Select all the tables as described in other fixes, but run a 'check tables' instead of a 'repair tables'.
- For tables that are broken, (mine was the mysql.db table), you need to select the table and export it. In phpmyadmin, view the table and click export.
- Select custom export, and check the 'Add DROP TABLE / TRIGGER statement' option, then export. Save the sql file.
- In the import tab, import the sql file you just created.
This drops the table and recreates it, which fixed the issues I was having.
I'm not sure why this worked, where as repairing the table didn't.