Changing Table Prefix for an Existing WordPresss Site

This is pretty straightforward. You can use phpMyAdmin or MySQL Workbench to change the prefix on all the tables at once, or you can do it one-at-a-time with a tool like SequelPro. If you need to run the SQL by hand, the syntax is…

RENAME TABLE `old_name` TO `new_name`;

Once all the table names are updated, you simply update the $table_prefix value in your wp-config.php to match the new prefix.

tech