|
@@ -59,22 +59,6 @@ $config['database'] = array
|
|
|
'password' => isset($dc['mysql']) ? $dc['mysql']['password'] : '123456',
|
|
|
'charset' => 'utf8mb4',
|
|
|
),
|
|
|
-
|
|
|
- # 定义历史数据库
|
|
|
- 'old' => array
|
|
|
- (
|
|
|
- 'type' => 'pdo',
|
|
|
- 'host' => array
|
|
|
- (
|
|
|
- 'read' => isset($dc['mysql']) ? $dc['mysql']['host'] : 'web-mysql:3306',
|
|
|
- 'update' => isset($dc['mysql']) ? $dc['mysql']['host'] : 'web-mysql:3306',
|
|
|
- 'create' => isset($dc['mysql']) ? $dc['mysql']['host_create'] : 'web-mysql:3306',
|
|
|
- ),
|
|
|
- 'database' => 'chuzren1yi9liao',
|
|
|
- 'username' => isset($dc['mysql']) ? $dc['mysql']['username'] : 'root',
|
|
|
- 'password' => isset($dc['mysql']) ? $dc['mysql']['password'] : '123456',
|
|
|
- 'charset' => 'utf8mb4',
|
|
|
- ),
|
|
|
);
|
|
|
|
|
|
# 缓存配置
|