I have solved the problem by creating an independent MySQL database just for Q&A. Before I integrate it with Wordpress and I get the problem above. Of course to create an independent database I reinstall it again (back from scratch and re-configuring the settings to work with that database). I hope this helps.