Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Add support for sha256_password pluggable authentication #625
Edit: Note that support for
Just a friendly note that with MySQL 8.0.4-rc comes a new default for authentication: caching_sha2_password is now used when creating users.
If you want to use a go-sql-driver/mysql supported authentication plugin, you have to create/alter users to use a different one.
As as workaround, you could use the MySQL Native Password plugin:
Note that you will need to explicitly set "allowNativePasswords=True" in the DSN.
(I did implement auth plugins in MySQL Connector/Python, I know the pain)