修复配置文件中错误的 dsn

This commit is contained in:
xmdhs 2023-10-12 20:51:50 +08:00
parent b0bd44eebb
commit 19ca1fa7d7
No known key found for this signature in database
GPG Key ID: E809D6D43DEFCC95

View File

@ -88,7 +88,7 @@ driverName = 'mysql'
# sqlite https://github.com/mattn/go-sqlite3
# 例如 mysql 用户名:密码@tcp(mysqlIP:端口)/数据库名
# sqlite data.db?_txlock=IMMEDIATE&_journal_mode=WAL&_fk=true
dsn = 'root@root@tcp(127.0.0.1)/test'
dsn = 'root:root@tcp(127.0.0.1)/test'
[cache]
# 默认使用内存缓存,若需要集群部署,填写 redis