1557492053 1 year ago
parent
commit
91c6e1defb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/database.php

+ 1 - 1
application/database.php

@@ -24,7 +24,7 @@ return [
     // 密码
     'password'        => Env::get('database.password', 'GSFpKytjMWBLsKsJ'),
     // 端口
-    'hostport'        => Env::get('database.hostport', ''),
+    'hostport'        => Env::get('database.hostport', '3306'),
     // 连接dsn
     'dsn'             => '',
     // 数据库连接参数