谢谢!
2013/4/22 夏凯 <[email protected]> > On 2013年04月22日 18:02, baocheng li wrote: > >> 就需要这样的权限,但是不知道怎么加这样的权限。 >> > |用phpmyadmin可以很简单实现啊,**比如你要给ert这台主机(一般主机都是 localhost或者%,我这特殊化一下)上的 > qwe用户权限,具体权限是abc这个数据 库,给insert update index,lock table权限。 > 打开phpmyadmin,点击user标签,然后点击qwe ert那行的Edit Privileges,然后 在Add privileges on > the following database: 里面选择abc,点击go,然后 > 选择你的权限,|||INSERT、UPDATE、INDEX、**LOCK TABLES|,然 后点击go,就行 > 了。然后会给出这个操作对应的sql:GRANT INSERT , UPDATE , INDEX , LOCK TABLES ON `abc` . * > TO 'qwe'@'ert';|| > 我的是英文版的,中文版翻译下就行了。 > > ||| > > -- > 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。 > 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 > perlchina+unsubscribe@**googlegroups.com<perlchina%[email protected]> > 。 > 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 > 通过以下网址访问此论坛:http://groups.**google.com/group/perlchina?hl=**zh-CN<http://groups.google.com/group/perlchina?hl=zh-CN> > 。 > 要查看更多选项,请访问 > https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> > 。 > > > -- 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 [email protected]。 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 通过以下网址访问此论坛:http://groups.google.com/group/perlchina?hl=zh-CN。 要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
