#1034 – index for table ‘global_priv’ is corrupt; try to repair it

#1034 – index for table ‘global_priv’ is corrupt; try to repair it

I was working on PHP and i need to create a database on phpmyadmin. Then i goto PHPmyadmin to create database after that i need to add a user for my database when i try to add the user it show  #1034 – index for table ‘global_priv’ is corrupt; try to repair it  and i tried it again but it shows #1034 – index for table ‘global_priv’ is corrupt; try to repair it   error again and again then i tried following solution.

Solution

Just open the phpMyAdmin into browser and goto mysql click on that on right hand side you will see all the tables, Now check all together and select the repair table option from the dropdown and after doing that try to add the user again

 

Leave a Comment