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 setting up the setting up the defaults for the MySQLBackendConfig. If a BaseDSN is not supplied by a called then it will default to this structure:
I have same issue with database name bug. “failed to acquire lock while becoming master: failed to fetch current master state: Error 1046: No database selected”
Right now, I just use my own DSN instead of giving all mysql connection parameters. And I also fix the timeout problems by passing BaseDSN.
When setting up the setting up the defaults for the MySQLBackendConfig. If a BaseDSN is not supplied by a called then it will default to this structure:
fmt.Sprintf("%s:%s@tcp(%s:%d)/?parseTime=true", m.User, m.Password, m.Host, m.Port)
This DSN is missing a few critical items:
The text was updated successfully, but these errors were encountered: