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