make sure you have started your mysql
/usr/local/etc/rc.d/mysql-server start
repair the database using phpmyadmin
1. check database using phpmyadmin
-choose database you use in your wordpress
-select all table (check all)
-in menu with selected, select check table
-you will get error message for error table, now what you need to do is to repair it
2. repair table using phpmyadmin
-choose tables you want to repair
-select those tables
-in menu with selected, select repair
now you will get your right page 🙂