diff --git a/data/conf/database.php b/data/conf/database.php new file mode 100644 index 0000000..4f4c4d9 --- /dev/null +++ b/data/conf/database.php @@ -0,0 +1,25 @@ +<?php +/** + * 配置文件 + */ + +return [ + // 数据库类型 + 'type' => 'mysql', + // 服务器地址 + 'hostname' => 'rm-m5eblhc9o3515i25n.mysql.rds.aliyuncs.com', + // 数据库名 + 'database' => 'scoreshop', + // 用户名 + 'username' => 'db136s1ehvo1yn73', + // 密码 + 'password' => 'cxz307311SJK', + // 端口 + 'hostport' => '3306', + // 数据库编码默认采用utf8 + 'charset' => 'utf8mb4', + // 数据库表前缀 + 'prefix' => 'sc_', + "authcode" => 'S5tjNQvLuKk4jJP9sq', + //#COOKIE_PREFIX# +];