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

sharding报错 不支持MYSQL 数据库 #63

Open
liusa63 opened this issue Jan 17, 2022 · 0 comments
Open

sharding报错 不支持MYSQL 数据库 #63

liusa63 opened this issue Jan 17, 2022 · 0 comments

Comments

@liusa63
Copy link

liusa63 commented Jan 17, 2022

java.lang.UnsupportedOperationException: Cannot support database type 'MySQL'
at org.apache.shardingsphere.sql.parser.core.parser.SQLParserFactory.newInstance(SQLParserFactory.java:55)
at org.apache.shardingsphere.sql.parser.core.parser.SQLParserExecutor.towPhaseParse(SQLParserExecutor.java:55)
at org.apache.shardingsphere.sql.parser.core.parser.SQLParserExecutor.execute(SQLParserExecutor.java:47)
at org.apache.shardingsphere.sql.parser.SQLParserEngine.parse0(SQLParserEngine.java:79)
at org.apache.shardingsphere.sql.parser.SQLParserEngine.parse(SQLParserEngine.java:61)
at org.apache.shardingsphere.underlying.route.DataNodeRouter.createRouteContext(DataNodeRouter.java:97)
at org.apache.shardingsphere.underlying.route.DataNodeRouter.executeRoute(DataNodeRouter.java:89)
at org.apache.shardingsphere.underlying.route.DataNodeRouter.route(DataNodeRouter.java:76)
at org.apache.shardingsphere.underlying.pluggble.prepare.PreparedQueryPrepareEngine.route(PreparedQueryPrepareEngine.java:54)
at org.apache.shardingsphere.underlying.pluggble.prepare.BasePrepareEngine.executeRoute(BasePrepareEngine.java:96)
at org.apache.shardingsphere.underlying.pluggble.prepare.BasePrepareEngine.prepare(BasePrepareEngine.java:83)
at org.apache.shardingsphere.shardingjdbc.jdbc.core.statement.ShardingPreparedStatement.prepare(ShardingPreparedStatement.java:183)
at org.apache.shardingsphere.shardingjdbc.jdbc.core.statement.ShardingPreparedStatement.executeQuery(ShardingPreparedStatement.java:116)
at org.jfaster.mango.jdbc.JdbcTemplate.executeQuery(JdbcTemplate.java:150)
at org.jfaster.mango.jdbc.JdbcTemplate.queryForList(JdbcTemplate.java:57)
at org.jfaster.mango.operator.QueryOperator$1.visitForList(QueryOperator.java:106)
at org.jfaster.mango.operator.QueryOperator$QueryVisitor.visit(QueryOperator.java:193)
at org.jfaster.mango.operator.QueryOperator.executeFromDb(QueryOperator.java:102)
at org.jfaster.mango.operator.QueryOperator.execute(QueryOperator.java:93)
at org.jfaster.mango.operator.QueryOperator.execute(QueryOperator.java:72)
at org.jfaster.mango.operator.Mango$MangoInvocationHandler.handleInvocation(Mango.java:371)
at org.jfaster.mango.util.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:46)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant