diff --git a/application/database.php b/application/database.php index 8f97f7e8..40071809 100644 --- a/application/database.php +++ b/application/database.php @@ -6,20 +6,21 @@ // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- -// | Author: liu21st +// | Author: honor // +---------------------------------------------------------------------- return [ // 数据库类型 'type' => 'mysql', // 服务器地址 - 'hostname' => '127.0.0.1', + 'hostname' => 'localhost', // 数据库名 - 'username' => 'gitcrmeb', + 'database' => 'gitcrmeb', // 用户名 'username' => 'gitcrmeb', // 密码 'password' => 'y3NfiJTjRp8PNeee', + // 端口 'hostport' => '3306', // 连接dsn