From 2a7bb22b8cd9d408d5b1f58db859946000ec3378 Mon Sep 17 00:00:00 2001 From: Cxphp Date: Thu, 10 May 2018 09:35:13 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E8=BF=98=E5=8E=9F=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/database.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/config/database.php b/config/database.php index d0f63d7ea..99a0d78c9 100644 --- a/config/database.php +++ b/config/database.php @@ -13,16 +13,15 @@ // +---------------------------------------------------------------------- return [ - // 数据库类型 'type' => 'mysql', // 服务器地址 - 'hostname' => 'server.cuci.cc', + 'hostname' => '127.0.0.1', // 数据库名 'database' => 'admin_v3', // 用户名 - 'username' => 'root', + 'username' => 'admin_v3', // 密码 - 'password' => 'Test12345', + 'password' => 'FbYBHcWKr2', // 端口 'hostport' => '3306', // 连接dsn