Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: switch api db connections to mysql2 #35

Merged
merged 1 commit into from Nov 14, 2021

Conversation

fallenoak
Copy link
Member

MySQL 8.x appears to be gaining some steam as the successor to MySQL 5.7. It changes the default auth mechanism to caching_sha2_password, which mysql doesn't currently support. See PR here: mysqljs/mysql#2233

The mysql2 driver does support this new MySQL 8.x auth mechanism. Fortunately, knex supports both mysql and mysql2 out of the box! I've been driving it around locally and it appears to work well.

@fallenoak fallenoak merged commit cd2315a into master Nov 14, 2021
@fallenoak fallenoak deleted the chore-switch-to-mysql2 branch November 14, 2021 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants