netlify / git-gateway

A Gateway to Git APIs
MIT License
404 stars 89 forks source link

update go-sql-driver/mysql to v1.5.0 #63

Open KatamariJr opened 3 years ago

KatamariJr commented 3 years ago

in line with netlify/gotrue, in order to support MySQL 8 default auth settings.

- Summary

Wont connect to MySQL 8 databases using the default authentication value, which is now caching_sha2_password. v1.4.0 of this library added support, and while v1.6.0 is also released, I stuck with v1.5.0 because that is the version that https://github.com/netlify/gotrue uses currently.

- Test plan

All tests succeed, db calls run fine.

- Description for the changelog

Update MySQL driver to 1.5.0 to support MySQL 8 default authentication.

- A picture of a cute animal (not mandatory but encouraged) 🐱