[wp-trac] [WordPress Trac] #44318: Non-default table prefix not used with new src/build flow, results in "You appear to have already installed WordPress" message

WordPress Trac noreply at wordpress.org
Wed Jun 6 17:37:06 UTC 2018


#44318: Non-default table prefix not used with new src/build flow, results in "You
appear to have already installed WordPress" message
-----------------------------+------------------------------
 Reporter:  allendav         |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------
Description changed by allendav:

Old description:

> Observed with today's trunk. Steps to reproduce:
>
> - cd /Library/WebServer/Documents (or wherever your web server root is)
> - mkdir wordpress-svn
> - cd wordpress-svn
> - svn co https://develop.svn.wordpress.org/trunk/ .
> - npm install && grunt build
> - In your web browser, navigate to http://localhost/wordpress-svn/build
> 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
>
> - Refresh http://localhost/wordpress-svn/build/wp-
> admin/install.php?language=en_US
>
> NOW, you’ll be on the “famous five-minute” install page, where you can
> complete installation.

New description:

 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.)

 - cd /Library/WebServer/Documents (or wherever your web server root is)
 - mkdir wordpress-svn
 - cd wordpress-svn
 - svn co https://develop.svn.wordpress.org/trunk/ .
 - npm install && grunt build
 - In your web browser, navigate to http://localhost/wordpress-svn/build
 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

 - Refresh http://localhost/wordpress-svn/build/wp-
 admin/install.php?language=en_US

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

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44318#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list