diff --git a/application/database.php b/application/database.php index b2b6b6d..c298f97 100644 --- a/application/database.php +++ b/application/database.php @@ -16,7 +16,7 @@ return [ // 数据库类型 'type' => Env::get('database.type', 'mysql'), // 服务器地址 - 'hostname' => Env::get('database.hostname', '127.0.0.1'), + 'hostname' => Env::get('database.hostname', 'rm-m5eblhc9o3515i25neo.mysql.rds.aliyuncs.com'), // 数据库名 'database' => Env::get('database.database', 'wake'), // 用户名