ThinkPHP数据库配置

http://www.singcms.com/index.php?m=admin&c=login

数据库配置
Application---Common---Conf
打开config.php
添加'LOAD_EXT_CONFIG' => 'db'

return array(
'DB_TYPE' => 'mysql',
'DB_HOST' => '127.0.0.1',
'DB_USER' => 'root',
'DB_PWD' => '',
'DB_PORT' => '3306',
'DB_NAME' => 'imooc_singcms',
'DB_CHARSET' => 'utf8',
'DB_PREFIX' => 'cms_',);

你可能感兴趣的:(ThinkPHP数据库配置)