要给数据库指定用户只能操作这一个数据库,两句话就行了。 grant all on 对应的数据库.* to '要创建的用户名'@'ip' identified by '要设的密码' with grant option; grant all o 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交