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
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