please tell the use of some function in db-config.php

Inactive
  • 27 points
    Starting to get into this DEV thing
    I'm new here
    cagora

    Member  —  5th September 2009 (2 years ago)         

    Houston, we have a problem!
    Looks like you need to create your new db's! If you're lucky, this link still works - click me
    Database Error: Access denied for user 'cagorabi_wpmu'@'localhost' to database 'newdbnamec'

    define ('DB_SCALING', '16');
    add_dc_ip('127.0.0.', 'dc1');
    add_global_table('something');

    add_db_server('global', 'dc1', 1, 1,'localhost','localhost', 'cagorabi_wpmu', 'cagorabi_wpmu', 'wpmu');
    add_db_server('0', 'dc1', 1, 1,'localhost','localhost', 'cagorabi_wpmu0', 'cagorabi_wpmu', 'wpmu');
    add_db_server('1', 'dc1', 1, 1,'localhost','localhost', 'cagorabi_wpmu1', 'cagorabi_wpmu', 'wpmu');
    add_db_server('2', 'dc1', 1, 1,'localhost','localhost', 'cagorabi_wpmu2', 'cagorabi_wpmu', 'wpmu');
    add_db_server('3', 'dc1', 1, 1,'localhost','localhost', 'cagorabi_wpmu3', 'cagorabi_wpmu', 'wpmu');
    add_db_server('4', 'dc1', 1, 1,'localhost','localhost', 'cagorabi_wpmu4', 'cagorabi_wpmu', 'wpmu');
    add_db_server('5', 'dc1', 1, 1,'localhost','localhost', 'cagorabi_wpmu5', 'cagorabi_wpmu', 'wpmu');
    add_db_server('6', 'dc1', 1, 1,'localhost','localhost', 'cagorabi_wpmu6', 'cagorabi_wpmu', 'wpmu');
    add_db_server('7', 'dc1', 1, 1,'localhost','localhost', 'cagorabi_wpmu7', 'cagorabi_wpmu', 'wpmu');
    add_db_server('8', 'dc1', 1, 1,'localhost','localhost', 'cagorabi_wpmu8', 'cagorabi_wpmu', 'wpmu');
    add_db_server('9', 'dc1', 1, 1,'localhost','localhost', 'cagorabi_wpmu9', 'cagorabi_wpmu', 'wpmu');
    add_db_server('a', 'dc1', 1, 1,'localhost','localhost', 'cagorabi_wpmua', 'cagorabi_wpmu', 'wpmu');
    add_db_server('b', 'dc1', 1, 1,'localhost','localhost', 'cagorabi_wpmub', 'cagorabi_wpmu', 'wpmu');
    add_db_server('c', 'dc1', 1, 1,'localhost','localhost', 'cagorabi_wpmuc', 'cagorabi_wpmu', 'wpmu');
    add_db_server('d', 'dc1', 1, 1,'localhost','localhost', 'cagorabi_wpmud', 'cagorabi_wpmu', 'wpmu');
    add_db_server('e', 'dc1', 1, 1,'localhost','localhost', 'cagorabi_wpmue', 'cagorabi_wpmu', 'wpmu');
    add_db_server('f', 'dc1', 1, 1,'localhost','localhost', 'cagorabi_wpmuf', 'cagorabi_wpmu', 'wpmu');
    add_db_server('vip1', 'dc1', 1, 1,'localhost','localhost', 'cagorabi_wpmu', 'cagorabi_wpmu', 'wpmu');
    add_vip_blog(1, 'vip1');