go-sql-driver / go-sql-driver/mysql

ParseDSN incorrectly parses ':' in username as password separator

Open
#1,747 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
15.3k
Forks
2.3k
Avg merge
2h 23m
Merged PRs (30d)
10

Description

The ParseDSN interface does not support parsing ':' in the username. This causes the part after the ':' in the username to be mistakenly identified as the password. How can I avoid this issue, and are there any plans to optimize the ParseDSN interface?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.