白鹭西天

一个懂点代码的产品经理

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

建立授权grant all privileges on exeup.*to john@192.168.1.111 identified by "123456";

其中exeup 为数据库名,后面的*代表此数据库下的全部表,john代表用户名,@后的代表地址 123456代表密码

取消授权revoke all privileges on exeup.* from ted@192.168.1.108;

删除用户 drop USER 'ted'@'192.168.1.111';

posted on 2011-11-01 11:01  Michael John  阅读(296)  评论(0)    收藏  举报