Код: Выделить всё

Ini-файл MySQL Server:
Код: Выделить всё
[mysqld]
# The default authentication plugin to be used when connecting to the server
default_authentication_plugin=caching_sha2_password
#default_authentication_plugin=mysql_native_password
ошибка: mysqli_connect(): сервер запросил метод аутентификации, неизвестный клиенту [caching_sha2_password] в...
с помощью mysql_native_password в ini-файле MySQL Server можно войти в систему с пользователем user1, но с пользователем user2, та же ошибка;
как мне войти в систему, используя caching_sha2_password на сервере mySql?
Подробнее здесь: https://stackoverflow.com/questions/500 ... ng-sha2-pa
Мобильная версия