Skip to content

Commit

Permalink
Merge pull request #21 from DasSkelett/fix/mysql-conenction-string
Browse files Browse the repository at this point in the history
  • Loading branch information
DasSkelett authored Nov 18, 2021
2 parents fe7bda6 + c8d76a7 commit 4bc2229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/storage/sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4bc2229

Please sign in to comment.