Changing the table prefix in an installed Wordpress

Changing the table prefix in an installed Wordpress. Otherwise an obvious task, but steps four and five can stump you.

For step five, the following SQL snippet may come in handy.

UPDATE new_prefix_usermeta SET meta_key = REPLACE(meta_key, "wp_", "new_prefix_");

There’s also a plugin available.

Ilya
  • Home
  • About
  • Preferences


RSS

September 2009

Mon

Tue

Wed

Thu

Fri

Sat

Sun

 

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

Aug   Oct

Beared souls

caught together