mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #3287] ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client #2218
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#2218
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @z499738316 on GitHub (Oct 26, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3287
Hello, I encountered an error connecting to MySQL while installing nginx proxy manage





I installed MySQL 8.0 in Docker,But nginx proxy management told me that the connection was wrong. Let me know
Can you help me check the errors? MySQL and nginx are both in the same Docker service
@z499738316 commented on GitHub (Oct 26, 2023):
The network is functioning normally

@dylanmaniatakes commented on GitHub (Feb 28, 2024):
Im having this same issue, did you ever get it resolved
@z499738316 commented on GitHub (Feb 29, 2024):
不要使用mysql8.0以上版本,需要使用mysql5.7版本
@ggbr commented on GitHub (Mar 21, 2024):
It seems like you have to update the Mysql client lib
@ggbr commented on GitHub (Mar 21, 2024):
I followed this and it resolved for Mysql 8.0.36
Link:
https://stackoverflow.com/questions/50093144/mysql-8-0-client-does-not-support-authentication-protocol-requested-by-server
@gitown commented on GitHub (Jul 1, 2024):
This is just a workaround, but mysql_native_password is deprectaed by MySQL so NPM need to add support for caching_sha2_password
@reebderdieb commented on GitHub (Sep 10, 2024):
Just upgraded my MySQL server to version 9.0.1, no chance now for NPM to connect to the database. Until the issue is resolved, would it be a good idea to just reinstall the proxy without a database? Have just three hosts running, so not much to do.
@nlynzaad commented on GitHub (Sep 10, 2024):
I came across the same issue yesterday. following the advice on this reddit post I was able to update the root user to use the new caching_sha2_password authentication methods. I then logged in, exported the schema, spun up a Mysql8.4 container with a npm user with native_password, restored the schema and pointed the npm container to this MySQL8.4 instance.
@reebderdieb commented on GitHub (Sep 11, 2024):
Will try that, probably later today. Does anyone know how long NPM will need to implement the "new" password plugin? Funny enough my certificates are valid until December and the proxy still does his job, so I'm not in a hurry.
@nlynzaad commented on GitHub (Sep 11, 2024):
I've submitted a PR that should resolve this, the underlying mysql library does not support the new authentication method, but I see they are working on a re-write to move to go in V3 so not too sure if it will get merged.
@reebderdieb commented on GitHub (Sep 11, 2024):
Will stick around and see how things develop. In the worst case will go with a dedicated MySQL container just for NPM. Thanks.
@github-actions[bot] commented on GitHub (May 31, 2025):
Issue is now considered stale. If you want to keep it open, please comment 👍