0

I've set a webserver for databases with PHPMyAdmin but one of my nodes use ed25519 plugin to authenticate users. PhPMA doesn't let me use this plugin by default :

mysqli::real_connect(): The server requested authentication method unknown to the client [client_ed25519]

mysqli::real_connect(): (HY000/2054): The server requested authentication method unknown to the client

Is it possible to use phpMyAdmin with this mode?

Dharman
  • 30,962
  • 25
  • 85
  • 135
guillaumearnx
  • 142
  • 3
  • 12

1 Answers1

0

To fix this issue you need to add below code to the /etc/mysql/my.cnf

[client]
default-character-set=utf8

[mysql]
default-character-set=utf8

[mysqld]
collation-server = utf8_unicode_ci
character-set-server = utf8
default-authentication-plugin=mysql_native_password

You also need to update the user authentication method by the following code in mysql

alter user 'username'@'localhost' identified with mysql_native_password by 'password';

Change 'password' by your personal MySQL Password

Dharman
  • 30,962
  • 25
  • 85
  • 135
MISSIRIA
  • 392
  • 3
  • 6