This is the main.php file:
这是main.php文件:
'db' => array(
'connectionString' => 'mysql:host=MYHOST;dbname=MYDB',
'emulatePrepare' => true,
'username' => 'MYUSER',
'password' => 'MYPASS',
'charset' => 'utf8',
),
'dbanother' => array(
'connectionString' => 'mysql:host=MYHOST;dbname=MYDB2',
'emulatePrepare' => true,
'username' => 'MYUSER2',
'password' => 'MYPASS2',
'charset' => 'utf8',
'class' => 'CDbConnection'
),