ayHaru 4 years ago
parent
commit
304cbdd2a5
1 changed files with 5 additions and 5 deletions
  1. 5 5
      config/database.php

+ 5 - 5
config/database.php

@@ -13,15 +13,15 @@ return [
     // 数据库类型
     'type'            => 'mysql',
     // 服务器地址
-    'hostname'        => '127.0.0.1',
+    'hostname'        => '39.97.239.116',
     // 数据库名
-    'database'        => '',
+    'database'        => 'songcan',
     // 用户名
-    'username'        => 'root',
+    'username'        => 'songcan',
     // 密码
-    'password'        => '',
+    'password'        => 'bfhFKR4azH5irEW2',
     // 端口
-    'hostport'        => '',
+    'hostport'        => '3306',
     // 连接dsn
     'dsn'             => '',
     // 数据库连接参数