what are you trying to do?
Check the table prefix variable in your wp-config.php file and make sure it’s the same as what you have in the DB.
Default value for table prefix in wp-config.php is ‘wp_
‘
Thread Starter
Aksha
(@aksha)
Im trying to install wordpress using Xampp,
I have been following these steps http://www.wikihow.com/Install-Wordpress-on-XAMPP
When I press install wordpress button I get
One or more database tables are unavailable. The database may need to be repaired.
Then when I click repaired link and repair database button, then it navigates to a page with list of wp_tablename dosen’t exists.
These are the folowwing tables that doesn’t exist ::
wp_posts: Table ‘wordpress.wp_posts’ doesn’t exist
wp_comments: Table ‘wordpress.wp_comments’ doesn’t exist
wp_links: Table ‘wordpress.wp_links’ doesn’t exist
wp_options: Table ‘wordpress.wp_options’ doesn’t exist
wp_postmeta: Table ‘wordpress.wp_postmeta’ doesn’t exist
wp_term_taxonomy: Table ‘wordpress.wp_term_taxonomy’ doesn’t exist
wp_term_relationships: Table ‘wordpress.wp_term_relationships’ doesn’t exist
wp_commentmeta: Table ‘wordpress.wp_commentmeta’ doesn’t exist
I tried dropping and recreating the database, but I find the same error again and again.
Any help would be of very much help.
Thanks
Thread Starter
Aksha
(@aksha)
Yes, its the same prefix ‘wp_’,
I have
The wp_users table is okay.
The wp_usermeta table is okay.
The wp_posts table is not okay. It is reporting the following error: Table ‘wordpress.wp_posts’ doesn’t exist. WordPress will attempt to repair this table…
Failed to repair the wp_posts table. Error: Table ‘wordpress.wp_posts’ doesn’t exist
The wp_comments table is not okay. It is reporting the following error: Table ‘wordpress.wp_comments’ doesn’t exist. WordPress will attempt to repair this table…
Failed to repair the wp_comments table. Error: Table ‘wordpress.wp_comments’ doesn’t exist
The wp_links table is not okay. It is reporting the following error: Table ‘wordpress.wp_links’ doesn’t exist. WordPress will attempt to repair this table…
Failed to repair the wp_links table. Error: Table ‘wordpress.wp_links’ doesn’t exist……………………….
Just try with a new empty database. OR you could drop all tables from the current DB and let WordPress create the tables.
drop your database and try again. you have phpmyadmin right?
Thread Starter
Aksha
(@aksha)
I have tried dropping the whole database and creating it again(3 times till now, even used different names and changes the same in config files too), but that didnot work