Commit 4141c829 by 杨树贤

修改配置文件

parent 8099dacd
Showing with 4 additions and 3 deletions
......@@ -4,7 +4,8 @@ APP_KEY=0uUBt7t4fFIttyqkyLxDhLC7gn9361Yt
APP_TIMEZONE=PRC
DB_CONNECTION=mysql
DB_HOST=192.168.2.232
DB_HOST_R=192.168.2.232
DB_HOST_W=192.168.2.232
DB_PORT=3306
DB_DATABASE=ic_welfare
DB_USERNAME=ic_welfare
......
......@@ -42,10 +42,10 @@ return [
'mysql' => [
'driver' => 'mysql',
'read' => [
'host' => env('DB_HOST')
'host' => env('DB_HOST_R')
],
'write' => [
'host' => env('DB_HOST')
'host' => env('DB_HOST_W')
],
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'forge'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment