最新版本
This commit is contained in:
@@ -60,4 +60,16 @@ return [
|
||||
|
||||
// 更多的数据库配置信息
|
||||
],
|
||||
// 2. 新增:宝塔远程数据库连接
|
||||
'remote' => [
|
||||
'type' => 'mysql',
|
||||
'hostname' => '127.0.0.1',
|
||||
'database' => '112_5_15_136_255',
|
||||
'username' => '112_5_15_136_255',
|
||||
'password' => 'xz1YX1jswSWzkE4K',
|
||||
'hostport' => '3306',
|
||||
'charset' => 'utf8mb4',
|
||||
'prefix' => '', // 如果有表前缀请填写
|
||||
'break_reconnect' => true, // 远程连接建议开启断线重连
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user