微微CMS数据库切换到Mysql


微微CMS默认使用的Sqlite的数据库,如果需要使用Mysql,责需要修改一下配置文件啦!基础的配置如下


[config]
host = 127.0.0.1
port = 8000
template = 
admin_url = 
url_style = 
url_article =
debug = sycms
[db]
db_driver = mysql
sqlite_db = data.db
db_host = 127.0.0.1
db_user = root
db_pass = 123456
db_db = vvcms
db_port = 3306
db_prefix = cms
[sec]
session_key = abcsag
csrf_key = agege% 


然后在数据库下面就会生成相关的数据表啦


友情链接