Error SQL error #2059
#2

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


Messages In This Thread
Error SQL error #2059 - by sodraw - 03.12.2018, 17:28
Re: Error SQL error #2059 - by Calisthenics - 03.12.2018, 17:43
Re: Error SQL error #2059 - by sodraw - 03.12.2018, 18:18
Re: Error SQL error #2059 - by Calisthenics - 03.12.2018, 19:06
Re: Error SQL error #2059 - by sodraw - 04.12.2018, 09:42
Re: Error SQL error #2059 - by Calisthenics - 04.12.2018, 10:40
Re: Error SQL error #2059 - by sodraw - 04.12.2018, 11:21
Re: Error SQL error #2059 - by sodraw - 04.12.2018, 11:38

Forum Jump:


Users browsing this thread: 1 Guest(s)