#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
Ravindra is a passionate full stack developer and dedicated blogger with a flair for crafting user-friendly web applications and insightful articles. With expertise spanning front-end and back-end technologies, Ravindra brings ideas to life through innovative coding solutions.