You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When does the newly created mysql username or password contain characters ? , the startup will fail.
After inspection, it was found that in collector/exporter.go:107After inspection, it was found that in the processing method of collector/exporter.go 107, when the password contains the characters ? The logic does not work correctly.
```golang`
// New returns a new MySQL exporter for the provided DSN.
func New(ctx context.Context, dsn string, scrapers []Scraper, logger log.Logger) *Exporter {
// Setup extra params for the DSN, default to having a lock timeout.
dsnParams := []string{fmt.Sprintf(timeoutParam, *exporterLockTimeout)}
When does the newly created mysql username or password contain characters
?
, the startup will fail.After inspection, it was found that in
collector/exporter.go:107
After inspection, it was found that in the processing method of collector/exporter.go 107, when the password contains the characters?
The logic does not work correctly.```golang`
// New returns a new MySQL exporter for the provided DSN.
func New(ctx context.Context, dsn string, scrapers []Scraper, logger log.Logger) *Exporter {
// Setup extra params for the DSN, default to having a lock timeout.
dsnParams := []string{fmt.Sprintf(timeoutParam, *exporterLockTimeout)}
}
The text was updated successfully, but these errors were encountered: