Vincit / knex-db-manager

Utility for create, drop, truncate etc. administrative database operations.
https://vincit.github.io/knex-db-manager/
ISC License
142 stars 28 forks source link

Feature: adds support for MySQL 8 using mysql2 library #94

Open james-soak opened 2 years ago

james-soak commented 2 years ago

Hello - I've been looking to use this on a client project however the RDS in use is MySQL 8 which results in this error:

Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client

This PR adds support for the mysql2, using the existing MySQL bridge as a base. Hopefully this is suitable for inclusion.