Turned out that "myisamchk -r -f wp_posts.MYI" was the right solution. I simply had to go to the data folder.
In my CentOS system, I modified the directory to /var/lib/mysql/[database]/ and found wp_posts.MYI
After removing this file, the repair was successful.
You can kick-start your career in SQL programming by joining our SQL Training course now!