1. 程式人生 > >mysql 庫級許可權、表級許可權授權

mysql 庫級許可權、表級許可權授權

庫級別

grant all on nnshop.* to [email protected]'192.168.1.%'

revoke all on nnshop.* from [email protected]'192.168.1.%'

表級別

grant insert,update,select on nnshop.goods to [email protected]'192.168.1.%'