给用户赋process权限时报如下错误:
mysql> grant process on `b2c`.* TO 'b2c'@'%';
ERROR 1221 (HY000): Incorrect usage of DB GRANT and GLOBAL PRIVILEGES
分析:意思是说这是一个全局的权限,不能赋给指定数据库,所以改为如下命令:
mysql> grant process on *.* TO 'b2c'@'%';
Query OK, 0 rows affected (0.01 sec)