MYSQL UBUNTU

sudo mysql_secure_installation

SET GLOBAL validate_password_length = 6;
SET GLOBAL validate_password_number_count = 0;