I had the same problem. I tried all the solution others has proposed, and unfortunately nothing worked.
After spending hours on searching for the solution in Google I finally found this
- Open my.ini (my.cnf on linux-based systems and Mac)
- Look for [mysqld]
- Just below [mysqld] insert innodb_force_recovery = 1
- Start MySQL Service
- Stop MySQL Service
- Remove the line from my.ini (innodb_force_recovery = 1)
- Start MySQL Service
Worked perfect in my case.
I hope this will solve your problem.