🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
ThinkCMF5安装后的生成的数据库配置文件在`data/conf/database.php`; ``` <?php return [ // 数据库类型 'type' => 'mysql', // 服务器地址 'hostname' => 'localhost', // 数据库名 'database' => 'thinkcmf5', // 用户名 'username' => 'root', // 密码 'password' => '你的数据库密码', // 端口 'hostport' => '3306', // 数据库编码默认采用utf8 'charset' => 'utf8mb4', // 数据库表前缀 'prefix' => 'cmf_', "authcode" => '你的加密码', ]; ```