Skip to content

Commit

Permalink
Fix mysql connection string
Browse files Browse the repository at this point in the history
Co-authored-by: DasSkelett <[email protected]>
Co-authored-by: GoliathLabs <[email protected]>
  • Loading branch information
3 people committed Nov 18, 2021
1 parent fe7bda6 commit c8d76a7
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 c8d76a7

Please sign in to comment.