From 7fc1b98cf4f066a094d93e18bdbdc00730d32f60 Mon Sep 17 00:00:00 2001 From: 潘浩文 <phw@bronet.cn> Date: Thu, 18 Oct 2018 18:28:34 +0800 Subject: [PATCH] 测试 --- data/conf/database.php | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+), 0 deletions(-) create mode 100644 data/conf/database.php 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# +]; -- libgit2 0.24.0