WordPress.org

Make WordPress Core

Opened 2 weeks ago

Last modified 12 days ago

#44318 new defect (bug)

Non-default table prefix not used with new src/build flow, results in "You appear to have already installed WordPress" message

Reported by: allendav Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: trunk
Component: Build/Test Tools Keywords:
Focuses: Cc:

Description (last modified by allendav)

Observed with today's trunk. Steps to reproduce:

(NOTE: Assumes old WordPress tables with wp_ prefix are present in your local MySQL database, e.g. from another local installation.)

you’ll be taken to http://localhost/wordpress-svn/build/wp-admin/setup-config.php

  • pick your language (e.g. English) and click continue
  • On the welcome page ( step=0 ), click Let’s go!
  • On the connection details page (step=1 ) enter the details including a table prefix other than wp_ (e.g. wp99_) and click Submit
  • On the sparky page (step=2), click Run the Installation

You’ll be sent to http://localhost/wordpress-svn/build/wp-admin/install.php?language=en_US and see

Already Installed You appear to have already installed WordPress. To reinstall please clear your old database tables first.

  • Open build/wp-config.php and note that all your connection details are present EXCEPT FOR the table prefix
  • Change the table prefix to whatever you set using your favorite editor

NOW, you’ll be on the “famous five-minute” install page, where you can complete installation.

Change History (2)

#1 @allendav
2 weeks ago

  • Description modified (diff)

#2 @allendav
12 days ago

  • Component changed from Upgrade/Install to Build/Test Tools

I think I chose the wrong Component when I opened this originally.

Note: See TracTickets for help on using tickets.