If you are having issues with MySQL password validation, you can run the following commands to disable it:

mysql -u root -p

uninstall plugin validate_password;

Should you want to enable MySQL validation again you can run this command once logged into MySQL:

INSTALL PLUGIN validate_password SONAME 'validate_password.so';