This commit is contained in:
2025-08-15 16:01:41 +08:00
parent bd97e58274
commit 232e767b76
2 changed files with 145 additions and 145 deletions

View File

@@ -3,7 +3,7 @@ return [
'default' => [ 'default' => [
'host' => 'redis://127.0.0.1:6379', 'host' => 'redis://127.0.0.1:6379',
'options' => [ 'options' => [
'auth' => null, 'auth' => '222222',
'db' => 0, 'db' => 0,
'prefix' => '', 'prefix' => '',
'max_attempts' => 5, 'max_attempts' => 5,

View File

@@ -7,15 +7,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('HOSTNAME', 'rm-gc7xx913734hv5w5q.mysql.cn-chengdu.rds.aliyuncs.com'), 'hostname' => getenv('HOSTNAME')?:'rm-gc7xx913734hv5w5q.mysql.cn-chengdu.rds.aliyuncs.com',
// 数据库名 // 数据库名
'database' => 'duanju', 'database' => 'duanju',
// 数据库用户名 // 数据库用户名
'username' => getenv('USERNAME', 'video_user'), 'username' => getenv('USERNAME')?:'video_user',
// 数据库密码 // 数据库密码
'password' => getenv('PASSWORD', 'VideoUser@1'), 'password' => getenv('PASSWORD')?:'VideoUser@1',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -42,15 +42,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('HOSTNAME', 'rm-gc7xx913734hv5w5q.mysql.cn-chengdu.rds.aliyuncs.com'), 'hostname' => getenv('HOSTNAME')?:'rm-gc7xx913734hv5w5q.mysql.cn-chengdu.rds.aliyuncs.com',
// 数据库名 // 数据库名
'database' => 'duanju-0', 'database' => 'duanju-0',
// 数据库用户名 // 数据库用户名
'username' => getenv('USERNAME', 'video_user'), 'username' => getenv('USERNAME')?:'video_user',
// 数据库密码 // 数据库密码
'password' => getenv('PASSWORD', 'VideoUser@1'), 'password' => getenv('PASSWORD')?:'VideoUser@1',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -77,15 +77,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('HOSTNAME', 'rm-gc7xx913734hv5w5q.mysql.cn-chengdu.rds.aliyuncs.com'), 'hostname' => getenv('HOSTNAME')?:'rm-gc7xx913734hv5w5q.mysql.cn-chengdu.rds.aliyuncs.com',
// 数据库名 // 数据库名
'database' => 'duanju-1', 'database' => 'duanju-1',
// 数据库用户名 // 数据库用户名
'username' => getenv('USERNAME', 'video_user'), 'username' => getenv('USERNAME')?:'video_user',
// 数据库密码 // 数据库密码
'password' => getenv('PASSWORD', 'VideoUser@1'), 'password' => getenv('PASSWORD')?:'VideoUser@1',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -113,15 +113,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('HOSTNAME', 'rm-gc7xx913734hv5w5q.mysql.cn-chengdu.rds.aliyuncs.com'), 'hostname' => getenv('HOSTNAME')?:'rm-gc7xx913734hv5w5q.mysql.cn-chengdu.rds.aliyuncs.com',
// 数据库名 // 数据库名
'database' => 'duanju-2', 'database' => 'duanju-2',
// 数据库用户名 // 数据库用户名
'username' => getenv('USERNAME', 'video_user'), 'username' => getenv('USERNAME')?:'video_user',
// 数据库密码 // 数据库密码
'password' => getenv('PASSWORD', 'VideoUser@1'), 'password' => getenv('PASSWORD')?:'VideoUser@1',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -148,15 +148,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('HOSTNAME', 'rm-gc7xx913734hv5w5q.mysql.cn-chengdu.rds.aliyuncs.com'), 'hostname' => getenv('HOSTNAME')?:'rm-gc7xx913734hv5w5q.mysql.cn-chengdu.rds.aliyuncs.com',
// 数据库名 // 数据库名
'database' => 'duanju-3', 'database' => 'duanju-3',
// 数据库用户名 // 数据库用户名
'username' => getenv('USERNAME', 'video_user'), 'username' => getenv('USERNAME')?:'video_user',
// 数据库密码 // 数据库密码
'password' => getenv('PASSWORD', 'VideoUser@1'), 'password' => getenv('PASSWORD')?:'VideoUser@1',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -183,15 +183,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('HOSTNAME', 'rm-gc7xx913734hv5w5q.mysql.cn-chengdu.rds.aliyuncs.com'), 'hostname' => getenv('HOSTNAME')?:'rm-gc7xx913734hv5w5q.mysql.cn-chengdu.rds.aliyuncs.com',
// 数据库名 // 数据库名
'database' => 'duanju-4', 'database' => 'duanju-4',
// 数据库用户名 // 数据库用户名
'username' => getenv('USERNAME', 'video_user'), 'username' => getenv('USERNAME')?:'video_user',
// 数据库密码 // 数据库密码
'password' => getenv('PASSWORD', 'VideoUser@1'), 'password' => getenv('PASSWORD')?:'VideoUser@1',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -219,15 +219,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.8'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.8',
// 数据库名 // 数据库名
'database' => 'duanju', 'database' => 'duanju',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoUser1@'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoUser1@',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -258,15 +258,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.8'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.8',
// 数据库名 // 数据库名
'database' => 'duanju-0', 'database' => 'duanju-0',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoUser1@'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoUser1@',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -294,15 +294,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.8'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.8',
// 数据库名 // 数据库名
'database' => 'duanju-1', 'database' => 'duanju-1',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoUser1@'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoUser1@',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -330,15 +330,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.8'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.8',
// 数据库名 // 数据库名
'database' => 'duanju-2', 'database' => 'duanju-2',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoUser1@'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoUser1@',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -366,15 +366,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.8'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.8',
// 数据库名 // 数据库名
'database' => 'duanju-3', 'database' => 'duanju-3',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoUser1@'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoUser1@',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -401,15 +401,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.8'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.8',
// 数据库名 // 数据库名
'database' => 'duanju-4', 'database' => 'duanju-4',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoUser1@'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoUser1@',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -436,15 +436,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.8'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.8',
// 数据库名 // 数据库名
'database' => 'duanju', 'database' => 'duanju',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoUser1@'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoUser1@',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -471,15 +471,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.8'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.8',
// 数据库名 // 数据库名
'database' => 'duanju-0', 'database' => 'duanju-0',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoUser1@'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoUser1@',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -506,15 +506,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.8'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.8',
// 数据库名 // 数据库名
'database' => 'duanju-1', 'database' => 'duanju-1',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoUser1@'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoUser1@',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -541,15 +541,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.8'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.8',
// 数据库名 // 数据库名
'database' => 'duanju-2', 'database' => 'duanju-2',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoUser1@'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoUser1@',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -576,15 +576,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.8'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.8',
// 数据库名 // 数据库名
'database' => 'duanju-3', 'database' => 'duanju-3',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoUser1@'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoUser1@',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -611,15 +611,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.8'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.8',
// 数据库名 // 数据库名
'database' => 'duanju-4', 'database' => 'duanju-4',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoUser1@'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoUser1@',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -646,15 +646,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.9'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.9',
// 数据库名 // 数据库名
'database' => 'duanju', 'database' => 'duanju',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoUser1@'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoUser1@',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -681,15 +681,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.9'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.9',
// 数据库名 // 数据库名
'database' => 'duanju-0', 'database' => 'duanju-0',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoUser1@'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoUser1@',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -716,15 +716,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.9'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.9',
// 数据库名 // 数据库名
'database' => 'duanju-1', 'database' => 'duanju-1',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoUser1@'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoUser1@',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -751,15 +751,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.9'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.9',
// 数据库名 // 数据库名
'database' => 'duanju-2', 'database' => 'duanju-2',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoUser1@'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoUser1@',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -786,15 +786,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.9'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.9',
// 数据库名 // 数据库名
'database' => 'duanju-3', 'database' => 'duanju-3',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoUser1@'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoUser1@',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -821,15 +821,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.9'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.9',
// 数据库名 // 数据库名
'database' => 'duanju-4', 'database' => 'duanju-4',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoUser1@'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoUser1@',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -856,15 +856,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.11'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.11',
// 数据库名 // 数据库名
'database' => 'duanju', 'database' => 'duanju',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoServer'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoServer',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -891,15 +891,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.11'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.11',
// 数据库名 // 数据库名
'database' => 'duanju-0', 'database' => 'duanju-0',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoServer'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoServer',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -926,15 +926,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.11'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.11',
// 数据库名 // 数据库名
'database' => 'duanju-1', 'database' => 'duanju-1',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoServer'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoServer',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -961,15 +961,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.11'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.11',
// 数据库名 // 数据库名
'database' => 'duanju-2', 'database' => 'duanju-2',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoServer'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoServer',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -996,15 +996,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.11'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.11',
// 数据库名 // 数据库名
'database' => 'duanju-3', 'database' => 'duanju-3',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoServer'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoServer',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -1031,15 +1031,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.11'), 'hostname' => getenv('SLAVE_HOSTNAME')?:'172.18.96.11',
// 数据库名 // 数据库名
'database' => 'duanju-4', 'database' => 'duanju-4',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoServer'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoServer',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -1067,15 +1067,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.10'), 'hostname' => getenv('SLAVE_HOSTNAME')?: '172.18.96.10',
// 数据库名 // 数据库名
'database' => 'duanju', 'database' => 'duanju',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoServer'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoServer',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -1103,15 +1103,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.10'), 'hostname' => getenv('SLAVE_HOSTNAME')?: '172.18.96.10',
// 数据库名 // 数据库名
'database' => 'duanju-0', 'database' => 'duanju-0',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoServer'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoServer',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -1139,15 +1139,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.10'), 'hostname' => getenv('SLAVE_HOSTNAME')?: '172.18.96.10',
// 数据库名 // 数据库名
'database' => 'duanju-1', 'database' => 'duanju-1',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoServer'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoServer',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -1174,15 +1174,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.10'), 'hostname' => getenv('SLAVE_HOSTNAME')?: '172.18.96.10',
// 数据库名 // 数据库名
'database' => 'duanju-2', 'database' => 'duanju-2',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoServer'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoServer',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -1210,15 +1210,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.10'), 'hostname' => getenv('SLAVE_HOSTNAME')?: '172.18.96.10',
// 数据库名 // 数据库名
'database' => 'duanju-3', 'database' => 'duanju-3',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoServer'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoServer',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒
@@ -1245,15 +1245,15 @@ return [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => getenv('SLAVE_HOSTNAME', '172.18.96.10'), 'hostname' => getenv('SLAVE_HOSTNAME')?: '172.18.96.10',
// 数据库名 // 数据库名
'database' => 'duanju-4', 'database' => 'duanju-4',
// 数据库用户名 // 数据库用户名
'username' => getenv('SLAVE_USERNAME', 'root'), 'username' => getenv('SLAVE_USERNAME')?:'root',
// 数据库密码 // 数据库密码
'password' => getenv('SLAVE_PASSWORD', 'VideoServer'), 'password' => getenv('SLAVE_PASSWORD')?:'VideoServer',
// 数据库连接端口 // 数据库连接端口
'hostport' => getenv('SLAVE_HOSTPORT', '3306'), 'hostport' => '3306',
// 数据库连接参数 // 数据库连接参数
'params' => [ 'params' => [
// 连接超时3秒 // 连接超时3秒