After the official release of MySQL 8.0, a few were complaining that the Go driver for MySQL did not have support for new default authentication method. It did indeed miss support, but this was already noticed and bug reported when moving to MySQL 8.0.4-rc. But, there was a valid workaround: you could (re-)create the users with a different authentication plugin, or set it globally in the configuration file using
A few days a ago, 1 June 2018, the good folks working on Go MySQL driver pushed a new feature to support the
caching_sha2_password plugin (1 June 2018), pushed to
master (so not yet released). Result: users with native passwords can login, as well as users using the new default. Nice work!