Skip to content

Commit

Permalink
支持 Mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjinhub committed Sep 3, 2019
1 parent 9bf9d10 commit b3b7455
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ db_max_open = 5 # 最大连接池,0 表示无限
# sqlite or mysql 连接字符串
# sqlite : ./db/hfish.db?cache=shared&mode=rwc
# mysql : 账号:密码@tcp(地址:端口)/数据库名?charset=utf8&parseTime=true&loc=Local
db_str = ./db/hfish.db?cache=shared&mode=rwc #hfish:hfish123@tcp(5a8.org:3306)/hfish_db?charset=utf8&parseTime=true&loc=Local

db_str = ./db/hfish.db?cache=shared&mode=rwc

[api]
status = 1 # 是否启动 API 0 关闭 1 启动
Expand Down

0 comments on commit b3b7455

Please sign in to comment.