I am not sure what happened but I just looked at my wordpress site and it is showing the install page /wp-admin/install.php instead of showing the blog content.
- I checked wp-config and it has correct database details
- The database also exist and has all the content
What is going wrong and how can I fix this ?
Typically, this occurs when one or more of the database tables are corrupt â wp_options in particular.
Try issuing
check table
andrepair table
statements accordingly.In my case it was “$table_prefix” in wp-config.php. Once I created the new one:
New DB:
$table_prefix = 'wp02_';
Old DB:
$table_prefix = 'wp_';
hope this helps.
Cheers
In my case, WP was installed on a (free) shared hosting provider, with limited resources. There is a limit on the traffic to/from the database. So each day, after a lot of traffic, the database replies with error:
and WP shows the install page.
This happens to me all the time when I make too many changes. The hosting provider just shows this page for about half an hour and then I can continue working again. Try not having too many page editors open at the same time because they autosave every now and then, even if you don’t do anything on them. But if it’s doing this because of your visitors, you should probably upgrade to a stronger hosting plan.