From a71e53fefc4bea99ab618a99c37be2ea2087e97b Mon Sep 17 00:00:00 2001 From: Magnus Date: Mon, 18 Dec 2023 17:36:11 +0800 Subject: [PATCH] init --- db.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db.go b/db.go index 17e57ed..8e9a036 100644 --- a/db.go +++ b/db.go @@ -24,10 +24,10 @@ var db *sql.DB func initDB() { cfg := mysql.Config{ - User: "root", + User: "imoonkin", Passwd: "passwd", Net: "tcp", - Addr: "host.k3d.internal:3306", + Addr: "hostmysql:3306", DBName: "sharednotedb", } var err error