nextcloud-server/lib/private/Setup
Ferdinand Thiessen b814f3bba6
fix(db): use `caching_sha2_password` for MySQL
`caching_sha2_password` was added in 8.0.4 as the default
authentication plugin. `mysql_native_password` is deprecated since then.
In MySQL 8.4 it was disabled by default so a user need to manually
reenable it to make it work.
In MySQL 9.0 it is removed and causes the following error:

> SQLSTATE[HY000] [1524] Plugin 'mysql_native_password' is not loaded

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-05 20:40:38 +07:00
..
AbstractDatabase.php Merge pull request #49104 from nextcloud/fix/install-dbport-unused 2025-08-01 11:35:22 +07:00
MySQL.php fix(db): use `caching_sha2_password` for MySQL 2025-08-05 20:40:38 +07:00
OCI.php refactor(Setup): When creating a DB user don't use the admin username 2025-06-10 11:16:28 +07:00
PostgreSQL.php refactor(Setup): When creating a DB user don't use the admin username 2025-06-10 11:16:28 +07:00
Sqlite.php refactor(Setup): When creating a DB user don't use the admin username 2025-06-10 11:16:28 +07:00