赞
踩
grant all on *.* to user1@localhost identified by 'password1';
flush privileges;
grant all on dbname.* to user1@localhost identified by 'password1';
flush privileges;
grant all on dbname.tablename to user1@localhost identified by 'password1';
flush privileges;
grant select(field1,field2,...) on dbname.tablename to user1@localhost identified by 'password1';
flush privileges;
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。