慕婉清6462132
grant all on *.* to username@'host' identified by 'password'; --授予全部权限grant all on databasename.* to username@'host' identified by 'password' --授予对某库的全部权限grant insert,update,select on databasename.tablename to username@'host' identified by 'password' --授予对某表的部分权限