Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
debian: choose mysql_native_password
In mysql version 8.x (*buntu 20.04), mythweb fails because the PHP mysqli connector doesn't support the new default caching_sha2_authentication. Existing DB users work OK, but newly created ones won't. Somewhat ugly solution as MySQL 5.x/8.x and MariaDB CREATE USER syntax is slightly different. Use ALTER USER after creation. See: https://mysqlserverteam.com/upgrading-to-mysql-8-0-default-authentication-plugin-considerations/ https://mariadb.com/kb/en/create-user/#identified-viawith-authentication_plugin Tested on MariaDB 10.3 and mysql 5.7 and 8.0. Refs #13576
- Loading branch information