sql_exporter icon indicating copy to clipboard operation
sql_exporter copied to clipboard

0.3 mysql error: Failed to parse URL

Open r0bj opened this issue 5 years ago • 4 comments

Using mysql URL like mysql://user:password@tcp(db.query.consul:3306)/db causing error:

{"caller":"level.go:63","err":"parse mysql://user:password@tcp(db.query.consul:3306)/db: invalid port \":3306)\" after host","job":"de_bulkimport_checks","level":"error","msg":"Failed to parse URL","ts":"2020-03-27T19:26:45.072425282Z","url":"mysql://user:password@tcp(db.query.consul:3306)/db"}

In previous version 0.2 works fine.

r0bj avatar Mar 27 '20 20:03 r0bj

i am also facing the same issue , were you able to solve already ?

OElGebaly avatar Oct 29 '20 13:10 OElGebaly

+1

ghost avatar Sep 29 '21 13:09 ghost

+1

TSUKER avatar Oct 10 '22 11:10 TSUKER

mysql://user:password@tcp(db.query.consul)/db Don't add the port number

yudeye avatar Dec 16 '22 06:12 yudeye