(1)查看数据库下所有用户:
>mysql select user,host from mysql.user;
(2)添加用户
给所有外网ip创建用户 create user 'root'@'%' identified by '你的密码';