[FAQ] Error 1142: INDEX command denied to user
MySQL 用户没有某个命令权限时提示的错误、具体这里提示的是没有 index 命令权限。
把某库的所有表的 index 命令授权给用户即可:
grant index on xxdb.* to 'xx-user'@'%';
Refer:MySQL权限错误
MySQL 用户没有某个命令权限时提示的错误、具体这里提示的是没有 index 命令权限。
把某库的所有表的 index 命令授权给用户即可:
grant index on xxdb.* to 'xx-user'@'%';
Refer:MySQL权限错误