Skip to content

Commit

Permalink
fix: 更新默认密码,方便测试使用
Browse files Browse the repository at this point in the history
  • Loading branch information
zoujingli committed Aug 7, 2024
1 parent 847e1ad commit 41f6333
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,21 @@
// 数据库类型
'type' => 'mysql',
// 服务器地址
'hostname' => '106.55.25.32',
'hostname' => env('mysql.hostname', '106.55.25.32'),
// 数据库名
'database' => 'admin_dv',
'database' => env('mysql.database', 'admin_dv'),
// 用户名
'username' => 'admin_dv',
'username' => env('mysql.username', 'admin_dv'),
// 密码
'password' => '3twr7kNZLXeSGtc7',
'password' => env('mysql.password', '3twr7kNZLXeSGtc7'),
// 端口
'hostport' => '3306',
'hostport' => env('mysql.hostport', '3306'),
// 数据库连接参数
'params' => [],
// 数据库编码默认采用 utf8
'charset' => 'utf8mb4',
// 数据库表前缀
'prefix' => '',
'prefix' => env('mysql.prefix', ''),
// 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)
'deploy' => 0,
// 数据库读写是否分离 主从式有效
Expand Down

0 comments on commit 41f6333

Please sign in to comment.