-
Notifications
You must be signed in to change notification settings - Fork 5
Table Migration
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.
-
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.
-
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.
-
In our final step, move the
db.php
file into/wp-content/
. The SharDB menu item will disappear. You will be able to seedb.php
in the Network Admin -> Plugins screen, under the Drop-Ins tab. -
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 removeshardb-admin.php
from thewp-content/mu-plugins
folder.