grant system_user on *.* to 'root';
grant all privileges on *.* to root@'%' ;
GRANT ALL ON *.* TO root1@'%' IDENTIFIED BY '12345678Aa!' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO 'root1'@'%'IDENTIFIED BY '12345678Aa!' WITH GRANT OPTION;
use mysql;
SELECT user, host, plugin from mysql.user;
select user,host,grant_priv from mysql.user;
set global validate_password.policy=LOW;
flush privileges;
ALTER USER 'debian-sys-maint'@'localhost' IDENTIFIED BY '123456';
SHOW VARIABLES LIKE 'validate_password%';
set global validate_password.length=4;
create user root1@'%' identified by '12345678Aa!';
grant all privileges on *.* to root1@'%' with grant option;
flush privileges;
ALTER USER 'root1'@'%' IDENTIFIED WITH mysql_native_password BY '12345678Aa!';