[wp-trac] Re: [WordPress Trac] #2435: Changing table prefix in wp-config doesn't update database

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 13 21:42:56 GMT 2006


#2435: Changing table prefix in wp-config doesn't update database
----------------------------+-----------------------------------------------
       Id:  2435            |      Status:  closed                  
Component:  Administration  |    Modified:  Mon Feb 13 21:42:55 2006
 Severity:  normal          |   Milestone:                          
 Priority:  high            |     Version:  2.0.1                   
    Owner:  anonymous       |    Reporter:  MtDewVirus              
----------------------------+-----------------------------------------------
Changes (by skeltoac):

  * resolution:  => invalid
  * status:  new => closed

Comment:

 Should it? How should it? The prefix is not stored in a setting so WP has
 no memory of it. Alas, changing the prefix makes WP load a different set
 of tables, so it wouldn't be able to see the old setting anyway unless you
 had manually renamed or moved the tables...

 You might want to write a script that completes the move to a new prefix
 but this isn't something WP needs IMO.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2435>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list