Support MySQL 8 Authentication Plugins
opened this issue · comments
Deleted user commented
MySQL 8 uses new auth plugins. The preferred method is caching_sha2_password
.
Ref: https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password
Python implementation: https://github.com/PyMySQL/PyMySQL/blob/383c0438fe74464ad65b9850bd13f310de7a878e/pymysql/_auth.py#L208
Travis CI config: https://www.tekz.io/blog/travis-ci-running-tests-on-mysql-8-0-x-on-ubuntu-xenial/