@@ -22,13 +22,13 @@ return [ | |||
'driver' => 'mysql', | |||
'host' => '127.0.0.1', | |||
'port' => 3306, | |||
'database' => 'oralcavity', | |||
'database' => 'webman', | |||
'username' => 'root', | |||
'password' => 'root', | |||
'password' => '123456', | |||
'unix_socket' => '', | |||
'charset' => 'utf8', | |||
'collation' => 'utf8_general_ci', | |||
'prefix' => 'or_', | |||
'prefix' => 'w_', | |||
'strict' => true, | |||
'engine' => null, | |||
], |
@@ -9,7 +9,7 @@ return [ | |||
// 服务器地址 | |||
'hostname' => '127.0.0.1', | |||
// 数据库名 | |||
'database' => 'test', | |||
'database' => 'webman', | |||
// 数据库用户名 | |||
'username' => 'root', | |||
// 数据库密码 | |||
@@ -21,7 +21,7 @@ return [ | |||
// 数据库编码默认采用utf8 | |||
'charset' => 'utf8', | |||
// 数据库表前缀 | |||
'prefix' => '', | |||
'prefix' => 'w_', | |||
// 断线重连 | |||
'break_reconnect' => true, | |||
// 关闭SQL监听日志 |