diff --git a/internal/storage/sql.go b/internal/storage/sql.go index e2ef332c..31e5c539 100644 --- a/internal/storage/sql.go +++ b/internal/storage/sql.go @@ -92,7 +92,7 @@ func pgconn(u *url.URL) string { func mysqlconn(u *url.URL) string { password, _ := u.User.Password() return fmt.Sprintf( - "%s:%s@%s/%s?%s", + "%s:%s@tcp(%s)/%s?%s", u.User.Username(), password, u.Host,