mysql创建用户 首先进入mysql use mysql; create user '用户名'@'%' identified by '密码'; grant all on 数据库名.* to '用户名'@'%';