MySQL创建新用户并且赋予权限 mysql创建新用户,并且赋予权限 use mysql; grant select on *.* to "xxx"@'%' identified by 'xxx'; flush privileges;