From 749d11410e22dece9d6918f438778755508cbf6c Mon Sep 17 00:00:00 2001 From: nizongfeng Date: Sat, 4 Dec 2021 18:55:55 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/database.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/database.php b/application/database.php index 3b082ba..ded3afc 100755 --- a/application/database.php +++ b/application/database.php @@ -16,13 +16,13 @@ return [ // 数据库类型 'type' => Env::get('database.type', 'mysql'), // 服务器地址 - 'hostname' => Env::get('database.hostname', '47.101.187.29'), + 'hostname' => Env::get('database.hostname', '175.27.128.139'), // 数据库名 'database' => Env::get('database.database', 'hbp'), // 用户名 - 'username' => Env::get('database.username', 'hotel'), + 'username' => Env::get('database.username', 'shuiwq'), // 密码 - 'password' => Env::get('database.password', 'JdWdm.w2jIodw9'), + 'password' => Env::get('database.password', '!@12qwAS'), // 端口 'hostport' => Env::get('database.hostport', ''), // 连接dsn From aa7903abf388580971e3b8ca510f9f0d616481fa Mon Sep 17 00:00:00 2001 From: nizongfeng Date: Sat, 4 Dec 2021 19:06:53 +0800 Subject: [PATCH 2/2] init --- application/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/database.php b/application/database.php index ded3afc..239100f 100755 --- a/application/database.php +++ b/application/database.php @@ -16,7 +16,7 @@ return [ // 数据库类型 'type' => Env::get('database.type', 'mysql'), // 服务器地址 - 'hostname' => Env::get('database.hostname', '175.27.128.139'), + 'hostname' => Env::get('database.hostname', '127.0.0.1'), // 数据库名 'database' => Env::get('database.database', 'hbp'), // 用户名