Closed
Description
This error confused me badly:
$ ./myprog --dsn='user:pass@tcp(10.154.146.190:3306)'
2013/12/05 22:37:43 Error 1045: Access denied for user ''@'127.0.0.1' (using password: NO)
The issue is that the DSN is missing a trailing slash. Can the driver reject that during sql.Open()
and give better feedback to the user?
Metadata
Metadata
Assignees
Labels
No labels