Hello everyone.
I've been having issues on one of the servers im administrating, basically, whenever i try to create a user in phpmyadmin i receive an error message stating:
Code:
#1819 - Your password does not satisfy the current policy requirements
However, I've made sure that password policies are down to bare minimum.
Here's the output generated from console:
Code:
mysql> SHOW VARIABLES LIKE 'validate_password%'
-> ;
+--------------------------------------+-------+
| Variable_name | Value |
+--------------------------------------+-------+
| validate_password.check_user_name | OFF |
| validate_password.dictionary_file | |
| validate_password.length | 6 |
| validate_password.mixed_case_count | 0 |
| validate_password.number_count | 0 |
| validate_password.policy | LOW |
| validate_password.special_char_count | 0 |
+--------------------------------------+-------+
7 rows in set (0.00 sec)
When i try to add a user from phpmyadmin, i will get the error message already mentioned but when i use the exact same syntax directly in mysql console, i have no issues.
Server I'm running on is using
Apache/2.4.6 on
CentOS 7.5 with
PHP/7.2.9 and MySQL Version is
8.0.12
phpMyAdmin version is (should be latest) 4.8.3.
I'm really really thinking this as a phpmyadmin bug since, as i said, it works fine when i type the syntax manually, either in mysql console or in SQL tab of phpmyadmin.
That would not be an option when we go into production since I'm trying to make this as easier as possible for end user to use.
I've set these in my.cnf file:
Code:
validate_password.check_user_name=OFF
validate_password.policy=LOW
validate_password.length=6
validate_password.mixed_case_count=0
validate_password.number_count=0
validate_password.special_char_count=0
default_authentication_plugin=mysql_native_password
Any ideas ?
Thanks in advance !
EDIT:
Problem solved by running : "UNINSTALL COMPONENT 'file://component_validate_password';"