03.12.2018, 17:43
PHP is not compatitible with caching_sha2_password method yet anyway. Connect to mysql server via command line and change your password:
Set in my.ini the authentication method and restart service again:
You can also pass configuration parameters when installing and initialize mysql like:
pawn Code:
ALTER USER 'user'@'host' IDENTIFIED WITH mysql_native_password BY 'password';
pawn Code:
[mysqld]
default_authentication_plugin = mysql_native_password
pawn Code:
> mysqld --install
> mysqld --initialize --default-authentication-plugin=mysql_native_password --secure-file-priv="..."
> net start mysql