# mysqld --skip-grant-tables --user=mysql &
# mysql
- FLUSH PRIVILEGES;
- SET GLOBAL validate_password.length = 4;
- SET GLOBAL validate_password.policy=LOW;
- ALTER USER 'root'@'localhost' IDENTIFIED BY 'xxxxxxxx';
- quit
# service mysql restart
# mysql -p