CREATE USER 'monitor'@'%' IDENTIFIED BY '123456';
grant all privileges on *.* to 'monitor'@'%' with grant option;
flush privileges;
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123456';
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';
ALTER USER 'monitor'@'%' IDENTIFIED WITH mysql_native_password BY '123456';
ALTER USER 'monitor'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456;
ALTER USER 'rpl_user'@'%' IDENTIFIED WITH mysql_native_password BY 'password';
flush privileges;
select user,host,plugin from user;
标签:123456,ProxySQL,IDENTIFIED,mysql8.0,USER,mysql,password,连接,native From: https://www.cnblogs.com/zhangdapangzo/p/17853772.html