Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter akashbarot985

    (@akashbarot985)

    Hello Ron,
    I have already put db.php file in wp-content directory.
    I am debugging the issue currently i can see that in db.php pointer just check

    if( !isset( $shardb_hash_length ) ) {
    $wpdb = new wpdb( DB_USER, DB_PASSWORD, DB_NAME, DB_HOST );
    return;
    }

    It didn’t compile rest of the code and return to load.php file.
    What is the role of
    $wpdb = new SharDB(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST);

    Let me know

    Thanks

    Thread Starter akashbarot985

    (@akashbarot985)

    Thanks for your reply.

    I got your point but after migration(separation) of db for the sub site. When I Update something on it ,It is not updating.New database just as it is. There is no change.Instead default database got updated.

    How can I assign new db information for each site ?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)