• I use whis plugin (1 for home +16 DB for blogs) and I try add VIP DB for one blog. When I add to db-settings.php

    add_vip_blog( 357, 'expert' ); //numer blog ID = 357 and DB name = expert

    I receive many errors.

    DB “expert” has the same DB user like others DB’s.

    I tried also move tables of blog id 357 to DB “expert” and there are many errors also.

    What am I doing wrong?

    https://wordpress.org/plugins/shardb/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ron Rennick

    (@wpmuguru)

    The actual name of your DB needs to include the shardb prefix. For example

    $shardb_prefix = 'example_';
    add_vip_blog( 357, 'expert' );

    Database name is example_expert.

    Thread Starter Gronix

    (@gronix)

    Yes, all DB’s have the same $shardb_prefix: DB for home, 16 DB’s for blogs and DB for blog 357.

    Thread Starter Gronix

    (@gronix)

    I have add the code

    add_vip_blog( 357, 'expert' );

    to db-settings.php

    after or before creating a blog ?

    Plugin Author Ron Rennick

    (@wpmuguru)

    You need to create the site, copy the tables to the VIP database then add it to db-settings.php.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘VIP DB for blog’ is closed to new replies.