The MU forums have moved to WordPress.org

can some one avise on editing wp.config-sample.php (9 posts)

  1. epdady007
    Member
    Posted 18 years ago #

    not sure about this
    does all of this need editing

    array(
    array( "db_name" => "WRITE_DB_NAME1",
    "db_user" => "WRITE_DB_USER1",
    "db_password" => "WRITE_DB_PASS1",
    "db_host" => "WRITE_DB_HOST1"
    )
    ),
    "read" => array(
    array( "db_name" => "READ_DB_NAME1",
    "db_user" => "READ_DB_USER1",
    "db_password" => "READ_DB_PASS1",
    "db_host" => "READ_DB_HOST1"
    ),
    array( "db_name" => "READ_DB_NAME2",
    "db_user" => "READ_DB_USER2",
    "db_password" => "READ_DB_PASS2",
    "db_host" => "READ_DB_HOST2"
    ),
    array( "db_name" => "READ_DB_NAME3",
    "db_user" => "READ_DB_USER3",
    "db_password" => "READ_DB_PASS3",
    "db_host" => "READ_DB_HOST3"
    ),
    array( "db_name" => "READ_DB_NAME4",
    "db_user" => "READ_DB_USER4",
    "db_password" => "READ_DB_PASS4",
    "db_host" => "READ_DB_HOST4"
    ),
    array( "db_name" => "READ_DB_NAME5",
    "db_user" => "READ_DB_USER5",
    "db_password" => "READ_DB_PASS5",
    "db_host" => "READ_DB_HOST5"
    ),
    array( "db_name" => "READ_DB_NAME6",
    "db_user" => "READ_DB_USER6",
    "db_password" => "READ_DB_PASS6",
    "db_host" => "READ_DB_HOST6"
    )
    )
    );

    $global_db_list = array(
    array( "db_name" => "GLOBAL_DB_NAME1",
    "db_user" => "GLOBAL_DB_USER1",
    "db_password" => "GLOBAL_DB_PASS1",
    "db_host" => "GLOBAL_DB_HOST1"
    ),
    array( "db_name" => "GLOBAL_DB_NAME2",
    "db_user" => "GLOBAL_DB_USER2",
    "db_password" => "GLOBAL_DB_PASS2",
    "db_host" => "GLOBAL_DB_HOST2"
    ),
    array( "db_name" => "GLOBAL_DB_NAME3",
    "db_user" => "GLOBAL_DB_USER3",
    "db_password" => "GLOBAL_DB_PASS3",
    "db_host" => "GLOBAL_DB_HOST3"
    )
    );

    /* Stop editing */

    define('ABSPATH', dirname(__FILE__).'/');
    require_once(ABSPATH.'wpmu-settings.php');
    ?>

  2. ergate
    Member
    Posted 18 years ago #

    I believe this is for using multiple databases.
    If you are only using one db, focus on the settings in the first 17 or so lines of the config file.
    Line 19 being where you set the option of using multiple db's, then configure them with that array.

  3. epdady007
    Member
    Posted 18 years ago #

    it says to use different username and database
    for each array

    after editing : what next?
    http://www.mywebsite.com/wpmu/ ?

  4. epdady007
    Member
    Posted 18 years ago #

    i could realy use some help here! please!!!!!!!!

  5. epdady007
    Member
    Posted 18 years ago #

    when i try to use http://www.mywebsite.com/wpmu/
    it tells me ,cant find database or something like that

  6. ergate
    Member
    Posted 18 years ago #

    Question: Are you using one db or multiple?
    if you are using one, then dont mess with this. If you are using multiple, then your gonna have to wait until one of the volunteers here on the board that uses or knows about using multiple dbs can post a reply.
    First things first, are you using one or multiple?

  7. epdady007
    Member
    Posted 18 years ago #

    just one, mysql db

  8. andrea_r
    Moderator
    Posted 18 years ago #

    Then you don't have to touch the wp-config file at all. The installation is nothing like the regular install for WP. :)

  9. epdady007
    Member
    Posted 18 years ago #

    so how do i get around the message i get ,can't select data base from http://www.mybebsite.com/wpmu/

About this Topic

  • Started 18 years ago by epdady007
  • Latest reply from epdady007