mysql icon indicating copy to clipboard operation
mysql copied to clipboard

error trying to connect to bedrock database ... expecting an authplugin

Open rbucker opened this issue 4 years ago • 0 comments

https://github.com/go-sql-driver/mysql/blob/e8f8fcdbd3e06fc74b6cf745c13eaebedff68c49/auth.go#L293

[mysql] 2021/08/13 16:15:22 auth.go:293: unknown auth plugin:password
[mysql] 2021/08/13 16:15:22 connector.go:95: could not use requested auth plugin 'password': this authentication plugin is not supported

I'm using this driver to connect my application to a bedrock database

By default there is no authentication... and so the driver generates a simple non-critical error. I'm ok since it does not crash but it would be nicer if there was a workaround either in the format of the DSN or in this package.

my example DSN included:

-"root:passwd@tcp(127.0.0.1:3306)/test"

  • "root@tcp(127.0.0.1:3306)/test" -"@tcp(127.0.0.1:3306)/test"

rbucker avatar Aug 13 '21 20:08 rbucker