Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wordpress blog is now showing Install page ? the db is still there and wp-config has correct details

Tags:

wordpress

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.

  1. I checked wp-config and it has correct database details
  2. The database also exist and has all the content

What is going wrong and how can I fix this ?

like image 622
iCyborg Avatar asked Nov 21 '13 08:11

iCyborg


People also ask

Why is WordPress showing install page?

There are a couple of reasons that could cause your WordPress installation page to show: Incorrect database credentials. Incorrect database prefix. blocked database connection.

Why is WordPress asking me to install?

WordPress Redirecting to Install Again This type of issue is most frequently caused by the use of an incorrect WordPress database table prefix. What you need to do to correct this is to ensure that the $table_prefix variable within your wp-config. php file matches your actual database table prefix.

How do I fix the repeating installation screen when migrating my WordPress site?

In this case, the easiest way to fix this problem is to edit the wp-config. php file and make sure that the prefix matches what you are using in the database. You will now be able to fix the database issues that cause the WordPress installation to continually re-start when you go to your WordPress page.


2 Answers

Typically, this occurs when one or more of the database tables are corrupt — wp_options in particular.

Try issuing check table and repair table statements accordingly.

like image 186
Denis de Bernardy Avatar answered Nov 15 '22 10:11

Denis de Bernardy


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

like image 32
Vee Avatar answered Nov 15 '22 10:11

Vee