Skip to content

caching_sha2_password vs mysql_native_password #51844

Closed Answered by dorkyboi
dorkyboi asked this question in General
Discussion options

You must be logged in to vote

It looks like the issue was my own doing.

I have chosen php-mysql as a driver due to the lack of knowledge.
I should've installed php-mysqlnd as it is, apparently, a better alternative to php-mysql, and it is also its drop-in replacement.

So I have removed php-mysql and installed php-mysqlnd, set the authentication plugin back to caching_sha2_password.
Everything works fine so far.

Thank you, @marius-mcp, for helping me to figure this out. ❤️

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@dorkyboi
Comment options

@bulletproof-coding
Comment options

@dorkyboi
Comment options

@dorkyboi
Comment options

Answer selected by dorkyboi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants