• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

go-sql-driver / mysql / 25624538760 / 17
83%
master: 83%

Build:
Build:
LAST BUILD BRANCH: fix/ParseDSN-colon-in-username
DEFAULT BRANCH: master
Ran 10 May 2026 01:47PM UTC
Files 18
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 May 2026 08:53AM UTC coverage: 82.076% (+0.05%) from 82.027%
25624538760.17

Pull #1768

github

Nghĩa Nguyễn Ngọc
dsn: document that usernames with colons require NewConfig()

The DSN format uses ':' as the user/password separator, making it
impossible to represent a username that contains a colon without
ambiguity. There is no safe way to fix this in ParseDSN without
breaking existing users who rely on the current first-colon behaviour
for passwords that contain colons.

Instead, document the limitation clearly in the ParseDSN godoc and
point callers to NewConfig(), which has no such ambiguity.

Fixes #1747
Pull Request #1768: dsn: document that usernames containing colons require NewConfig()

3352 of 4084 relevant lines covered (82.08%)

80737.53 hits per line

Source Files on job macOS-Go-1.26-DB-mariadb-11.1 - 25624538760.17
  • Tree
  • List 18
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25624538760
  • 4825420a on github
  • Prev Job for on fix/ParseDSN-colon-in-username (#25111743223.18)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc