kuainiao

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

•思考题

–如何给数据库testdata设置如下权限

•用途:查询数据

•用户名:viewer

•密码:T3nc3t!965.A

•Web  CGI程序主机IP : 172.16.1.1

 

答案:

mysql> grant select,insert,update,delete,create,drop privilieges on testdata.* to viewer@’172.16.1.1’ indentified by ‘T3nc3t! 965.A’;

posted on 2013-08-14 22:02  kuainiao  阅读(144)  评论(0编辑  收藏  举报
View Code