Authentication Plugin - mysql_native_password
Complete Authentication Plugin - mysql_native_password guide for MariaDB. Complete reference documentation for implementation, configuration, and usage.
Installing the Plugin
Creating Users
SET old_passwords=0;
CREATE USER username@hostname IDENTIFIED BY 'mariadb';SET old_passwords=0;
GRANT SELECT ON db.* TO username@hostname IDENTIFIED BY 'mariadb';SET old_passwords=0;
SELECT PASSWORD('mariadb');
+-------------------------------------------+
| PASSWORD('mariadb') |
+-------------------------------------------+
| *54958E764CE10E50764C2EECBB71D01F08549980 |
+-------------------------------------------+
CREATE USER username@hostname
IDENTIFIED BY PASSWORD '*54958E764CE10E50764C2EECBB71D01F08549980';Changing User Passwords
Client Authentication Plugins
mysql_native_password
mysql_native_passwordSupport in Client Libraries
Known Old Issues (Only Relevant for Old Installations)
Mismatches Between Password and authentication_string Columns
See Also
Last updated
Was this helpful?

