如何在vBulletin中設置從站數據庫配置?我這樣設置:如何在vBulletin中設置從站數據庫配置?
$ config ['Database'] ['dbtype'] ='mysql';
$ config ['Database'] ['dbname'] ='xyz';
$ config ['Database'] ['tableprefix'] ='vbulletin1_';
$ config ['Database'] ['technicalemail'] ='[email protected]';
$ config ['Database'] ['force_sql_mode'] = false;
$ config ['MasterServer'] ['servername'] ='xyz';
$ config ['MasterServer'] ['port'] = 3306;
$ config ['MasterServer'] ['username'] ='x';
$ config ['MasterServer'] ['password'] ='xxxx';
$ config ['MasterServer'] ['usepconnect'] = 0;
$ config ['SlaveServer'] ['servername'] ='abc';
$ config ['SlaveServer'] ['port'] = 3306;
$ config ['SlaveServer'] ['username'] ='a';
$ config ['SlaveServer'] ['password'] ='xxxx';
$ config ['SlaveServer'] ['usepconnect'] = 0;