From 4fd969bab849141fbd585fcab9dea1ba07e8a3f6 Mon Sep 17 00:00:00 2001 From: nizongfeng Date: Sun, 5 Dec 2021 14:01:22 +0800 Subject: [PATCH] 1 --- application/database.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/database.php b/application/database.php index 3b082ba..239100f 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', '127.0.0.1'), // 数据库名 '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