I've been researching for a couple of hours the "best practice" to create a second account for the mysql database using password authentication instead of the auth_socket
/ unix_socket
.
By this guide safest and permanent solution to create a new user mariadb, the authentication uses no plugin. In other guides, people add the mysql_native_password
as the plugins (e.g. here).
However, by the mariadb documentations about mysql_native_password, they recommend to use ed25519 plugin instead. I have not seen a single guide online to use this one with mariadb.
Now, which authentication method/plugin should is use and whats the big differenece between the no plugin
and ed25519
?
mysql_native_password
plugin. My big question is about thenon-plugin-method
. – Advena Feb 19 '19 at 12:17alter user 'username'@'localhost' identified with mysql_native_password by 'password';
not ideal, but if you have to use phpadmin, no other choice, for the moment ... – thecarpy Feb 21 '19 at 21:18