From 19ca1fa7d7190bd9d3b2b1a33dfa4c6b170d41dc Mon Sep 17 00:00:00 2001 From: xmdhs Date: Thu, 12 Oct 2023 20:51:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=B8=AD=E9=94=99=E8=AF=AF=E7=9A=84=20dsn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/config.toml b/test/config.toml index 8f05669..ca3aff3 100644 --- a/test/config.toml +++ b/test/config.toml @@ -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