Authentication Plugin - mysql_old_password
This plugin provides backward compatibility for pre-4.1 clients using an older, insecure password hashing algorithm and should not be used for new installations.
Installing the Plugin
Creating Users
SET old_passwords=1;
CREATE USER username@hostname IDENTIFIED BY 'mariadb';SET old_passwords=1;
GRANT SELECT ON db.* TO username@hostname IDENTIFIED BY 'mariadb';SET old_passwords=1;
Query OK, 0 rows affected (0.000 sec)
SELECT PASSWORD('mariadb');
+---------------------+
| PASSWORD('mariadb') |
+---------------------+
| 021bec665bf663f1 |
+---------------------+
1 row in set (0.000 sec)
CREATE USER username@hostname IDENTIFIED BY PASSWORD '021bec665bf663f1';
Query OK, 0 rows affected (0.000 sec)Changing User Passwords
Client Authentication Plugins
mysql_old_password
mysql_old_passwordSupport in Client Libraries
Last updated
Was this helpful?

