I'm trying to execute a simple insert query to mysql database, but it gives me this error:
Operation not allowed when innodb_forced_recovery > 0.
I'm trying to set the innodb_force_recovery to zero, but it give me the same error. I tried to add the following line to the my.ini file under [mysqld]:
innodb_force_recovery=0
But it doesn't work. I also tried to set it from command line:
--innodb_force_recovery=0;
But again it didn't work. Anyone knows how to solve this?