Browse Source

修改数据库路径

lizhen_gitee 4 months ago
parent
commit
a2e6962f4b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/database.php

+ 1 - 1
application/database.php

@@ -16,7 +16,7 @@ return [
     // 数据库类型
     'type'            => Env::get('database.type', 'mysql'),
     // 服务器地址
-    'hostname'        => Env::get('database.hostname', '106.54.206.212'),
+    'hostname'        => Env::get('database.hostname', '127.0.0.1'),
     // 数据库名
     'database'        => Env::get('database.database', 'gganli'),
     // 用户名