cxfoot/config/db.php
2023-12-28 14:32:05 +08:00

31 lines
856 B
PHP

<?php
return [
'class' => 'yii\db\Connection',
// 'dsn' => 'mysql:host=124.71.161.49;dbname=cxaibc',
// 'username' => 'cxaibc',
// 'password' => 'tm2CtPfmRXSif6mn',
/*'dsn' => 'mysql:host=app.3dxh.dev.1nww.com;dbname=cxfoot',
'username' => 'cxfoot',
'password' => 'bm8kB3eKddhCW83s',*/
'dsn' => 'mysql:host=124.71.161.49;dbname=cxfoot',
'username' => 'cxfoot',
'password' => 'bm8kB3eKddhCW83s',
'charset' => 'utf8mb4',
'tablePrefix' => 'cx_',
/*'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=127.0.0.1;dbname=cxfsms',
'username' => 'root',
'password' => 'root',
'charset' => 'utf8mb4',
'tablePrefix' => 'cx_',*/
// Schema cache options (for production environment)
//'enableSchemaCache' => true,
//'schemaCacheDuration' => 60,
//'schemaCache' => 'cache',
];