OtterMind/Chat2DB · error · BusinessException
mysql.account.privilegeUnsupported
mysql.account.privilegeUnsupported
Error message
mysql.account.privilegeUnsupported
What it means
Error "mysql.account.privilegeUnsupported" thrown in OtterMind/Chat2DB.
Source
Thrown at chat2db-community-server/chat2db-community-plugins/chat2db-community-mysql/src/main/java/ai/chat2db/plugin/mysql/enums/account/MysqlPrivilege.java:39
TRIGGER("TRIGGER"),
EVENT("EVENT"),
CREATE_TEMPORARY_TABLES("CREATE TEMPORARY TABLES");
private final String sqlName;
MysqlPrivilege(String sqlName) {
this.sqlName = sqlName;
}
public static List<String> names() {
return Arrays.stream(values()).map(Enum::name).toList();
}
public static String sqlName(String value) {
try {
return MysqlPrivilege.valueOf(value.trim().toUpperCase(Locale.ROOT)).sqlName;
} catch (IllegalArgumentException | NullPointerException e) {
throw new BusinessException("mysql.account.privilegeUnsupported");
}
}
}
View on GitHub (pinned to 5ee1e990e7)
Solutions
- Use one of the privileges enumerated in MysqlPrivilege.
- Check for typos or unsupported privilege names in the request.
When it happens
Trigger: A privilege string was passed that is not a recognized MySQL privilege.
Common situations: See trigger scenarios.
AI-assisted analysis of OtterMind/Chat2DB@5ee1e990e7 (2026-08-14).
Data as JSON: /api/errors/e68f56d6a3d444b1.
Report an issue: GitHub.