更新 database.php
This commit is contained in:
@@ -13,13 +13,13 @@ return [
|
|||||||
// 数据库类型
|
// 数据库类型
|
||||||
'type' => 'mysql',
|
'type' => 'mysql',
|
||||||
// 服务器地址
|
// 服务器地址
|
||||||
'hostname' => '127.0.0.1',
|
'hostname' => '',
|
||||||
// 数据库名
|
// 数据库名
|
||||||
'database' => 'cms',
|
'database' => '',
|
||||||
// 用户名
|
// 用户名
|
||||||
'username' => 'root',
|
'username' => '',
|
||||||
// 密码
|
// 密码
|
||||||
'password' => 'admin',
|
'password' => '',
|
||||||
// 端口
|
// 端口
|
||||||
'hostport' => '3306',
|
'hostport' => '3306',
|
||||||
// 连接dsn
|
// 连接dsn
|
||||||
@@ -29,7 +29,7 @@ return [
|
|||||||
// 数据库编码默认采用utf8
|
// 数据库编码默认采用utf8
|
||||||
'charset' => 'utf8',
|
'charset' => 'utf8',
|
||||||
// 数据库表前缀
|
// 数据库表前缀
|
||||||
'prefix' => 'cms_',
|
'prefix' => '',
|
||||||
// 数据库调试模式
|
// 数据库调试模式
|
||||||
'debug' => true,
|
'debug' => true,
|
||||||
// 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)
|
// 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)
|
||||||
|
Reference in New Issue
Block a user