Skip to content

Table Migration

Ron Rennick edited this page Jul 24, 2019 · 2 revisions

The menu item for SharDB is under the main site's Tools menu, and is only visible to Super Admins. Upon successful implementation, this menu item will be removed in the final step.

  1. Click the Migrate Global Tables button. Check the list to make sure it copied all of the global tables. The tables belonging to the main site should also have been copied unless your original install was WordPressMU.

  2. Once the global tables are moved successfully, you can click the button labelled Migrate Sites. This action will step through 5 sites at a time, much like the update network button, plus show which blog tables are going in what databases.

  3. In our final step, move the db.php file into /wp-content/. The SharDB menu item will disappear. You will be able to see db.php in the Network Admin -> Plugins screen, under the Drop-Ins tab.

  4. Once db.php is installed a column is added to the Network Admin -> Sites screen that shows which database SharDB expects to find the the tables for that site. If you do not want to have that column, you may remove shardb-admin.php from the wp-content/mu-plugins folder.

Clone this wiki locally