Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL解析create role出错 #4444

Closed
ghostyoona opened this issue Sep 8, 2021 · 0 comments
Closed

MySQL解析create role出错 #4444

ghostyoona opened this issue Sep 8, 2021 · 0 comments
Labels
Milestone

Comments

@ghostyoona
Copy link

解析语句create role 'role1'时报错,数据库为MySQL 8.0,Druid版本为1.2.4,请问Druid 1.2.4是否支持MySQL的role管理呢? 具体报错信息如下:
Caused by: java.sql.SQLException: 2Unknown exception: [com.alibaba.druid.sql.parser.ParserException: TODO pos 11, line 1, column 8, token IDENTIFIER role]
at com.mysql.cj.jdbc.exception.SQLError.createSQLException(SQLError.java:129)
at com.mysql.cj.jdbc.exception.SQLError.createSQLException(SQLError.java:97)
at com.mysql.cj.jdbc.exception.SQLExceptionMapping.translateException(SQLExceptionMapping.java:122)
at com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:764)
at com.mysql.cj.jdbc.StatementImpl.execute(StatementImpl.java:648)
... 30 more

@wenshao wenshao added the Bug label Oct 3, 2021
@wenshao wenshao added this to the 1.2.8 milestone Oct 3, 2021
@wenshao wenshao closed this as completed in c4a2487 Oct 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants