1.新建用户
CREATE USER 'username'@'host' IDENTIFIED WITH mysql_native_password BY 'password';
#WITH mysql_native_password 可选,但不支持低版本的mysqlclient连接
#将出现:1251--Client does not support authentication protocol requested by server
2.更新用户密码
ALTER USER 'username'@'host' IDENTIFIED WITH mysql_native_password BY 'password';
3.删除用户
DROP USER 'username'@