From f0dfc6180d228666828c6b8dae80cc9003cbbe0f Mon Sep 17 00:00:00 2001 From: JaguarJack <82664165@qq.com> Date: Wed, 21 Nov 2018 13:42:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20database.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/database.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/database.php b/config/database.php index 8543d98..24d2b02 100644 --- a/config/database.php +++ b/config/database.php @@ -13,13 +13,13 @@ return [ // 数据库类型 'type' => 'mysql', // 服务器地址 - 'hostname' => '127.0.0.1', + 'hostname' => '', // 数据库名 - 'database' => 'cms', + 'database' => '', // 用户名 - 'username' => 'root', + 'username' => '', // 密码 - 'password' => 'admin', + 'password' => '', // 端口 'hostport' => '3306', // 连接dsn @@ -29,7 +29,7 @@ return [ // 数据库编码默认采用utf8 'charset' => 'utf8', // 数据库表前缀 - 'prefix' => 'cms_', + 'prefix' => '', // 数据库调试模式 'debug' => true, // 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)