Compatibility with MySQL 8.4 caching_sha2_password #49

Closed
opened 2026-04-05 20:25:22 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @geel97 on 9/12/2025

CloudPanel version(s) affected

2.5.2

Description

Upgrading to MySQL 8.4 I get this error every time I try to create a new database or user of a database.

An error has occurred, error message: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1524 Plugin 'mysql_native_password' is not loaded

How to reproduce

With a MySQL 8.4 database in use, add a user to an existing database or add a new database with Cloudpanel interface.

Possible Solution

Cloudpanel should create new users with caching_sha2_password instead of the deprecated mysql_native_password.

Additional Context

No response

*Originally created by @geel97 on 9/12/2025* ### CloudPanel version(s) affected 2.5.2 ### Description Upgrading to MySQL 8.4 I get this error every time I try to create a new database or user of a database. ``` An error has occurred, error message: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1524 Plugin 'mysql_native_password' is not loaded ``` ### How to reproduce With a MySQL 8.4 database in use, add a user to an existing database or add a new database with Cloudpanel interface. ### Possible Solution Cloudpanel should create new users with `caching_sha2_password` instead of the deprecated `mysql_native_password`. ### Additional Context _No response_
Sign in to join this conversation.