GM在www\gm\config 里面可以看到,数据库密码也有define ( 'MYSQLHOST', 'mysql:host=127.0.0.1;dbname=cq_account' );
define ( 'MYSQLUSER', 'cq_dba' );
define ( 'MYSQLPASS', '123456abc' );
$pdo = new PDO ( MYSQLHOST, MYSQLUSER, MYSQLPASS );
$pdo->exec ( 'set names utf8' );
/**
* 分区
*/
$allmaillv = 10;
$gmcode = '123456';
$title = 'GM邮件';
$content = 'GM发送大礼包了,速度领取-久趣源生';
$quarr = array (
'1' => array (
'db_ip' => '127.0.0.1',
'db_port' => 3306,
'db_user' => 'cq_dba',
'db_pswd' => '123456abc',
'db_name' => 'cq_actor1', // 数据库名称
'db_name2' => 'cq_gstatic' // 数据库名称 |