Quote:
Originally Posted by Bladewire
Jesus fucking Christ!
That means there's holes in it not good
|
they changed default authentication method. and default charset
i can log in to mysql using terminal but cant connect using php .
so either downgrade mysql or change default authentication method e.g.
Code:
default-authentication-plugin=mysql_native_password
character-set-server=utf8
and alter root user using
Code:
ALTER USER 'root'@'localhost'
IDENTIFIED WITH mysql_native_password
BY 'password';
ref:
https://dev.mysql.com/doc/refman/8.0...d-root-account
until php updates their connector mysql api to use newer authentication method