Installing Moodle 3.9 Database Error Message

Re: Installing Moodle 3.9 Database Error Message

by Howard Miller -
Number of replies: 0
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
MySQL 8 presumably?

The default authentication used in MySQL 8 isn't compatible with PHP. The simplest thing is to add the following line in your /etc/my.cnf file (and restart mysql)

default-authentication-plugin=mysql_native_password

You can Google mysql_native_password for lots more discussion about this. We should probably add something to the docs