You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/08/13 10:27:19 UTC

[GitHub] [incubator-shardingsphere] liujuntao commented on issue #2860: Access Sharing-Proxy 4.0.0RC2 with navicat return null point exception for lack of scheam

liujuntao commented on issue #2860: Access Sharing-Proxy 4.0.0RC2 with navicat return null point exception for lack of scheam
URL: https://github.com/apache/incubator-shardingsphere/issues/2860#issuecomment-520780057
 
 
   when i add the "defaultDataSourceName: ds_0" to "config-sharding.yaml" , i use navicat can see the database information ,but i got the error below .
   
   [INFO ] 18:16:58.989 [ShardingSphere-Command-15] ShardingSphere-SQL - Actual SQL: ds_0 ::: SELECT TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME, COLUMN_TYPE FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = 'mysql' ORDER BY TABLE_SCHEMA, TABLE_NAME
   [ERROR] 18:16:59.415 [ShardingSphere-Command-0] o.a.s.s.f.c.CommandExecutorTask - Exception occur: 
   org.apache.shardingsphere.core.parse.exception.SQLParsingException: Cannot support multiple schemas in one SQL
   	at org.apache.shardingsphere.core.parse.filler.impl.TableFiller.fill(TableFiller.java:42)
   	at org.apache.shardingsphere.core.parse.filler.impl.TableFiller.fill(TableFiller.java:35)
   	at org.apache.shardingsphere.core.parse.filler.SQLStatementFillerEngine.fill(SQLStatementFillerEngine.java:65)
   	at org.apache.shardingsphere.core.parse.SQLParseEngine.parse(SQLParseEngine.java:64)
   	at org.apache.shardingsphere.shardingproxy.backend.text.TextProtocolBackendHandlerFactory.newInstance(TextProtocolBackendHandlerFactory.java:66)
   	at org.apache.shardingsphere.shardingproxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor.<init>(MySQLComQueryPacketExecutor.java:64)
   	at org.apache.shardingsphere.shardingproxy.frontend.mysql.command.MySQLCommandExecutorFactory.newInstance(MySQLCommandExecutorFactory.java:72)
   	at org.apache.shardingsphere.shardingproxy.frontend.mysql.command.MySQLCommandExecuteEngine.getCommandExecutor(MySQLCommandExecuteEngine.java:60)
   	at org.apache.shardingsphere.shardingproxy.frontend.command.CommandExecutorTask.executeCommand(CommandExecutorTask.java:85)
   	at org.apache.shardingsphere.shardingproxy.frontend.command.CommandExecutorTask.run(CommandExecutorTask.java:66)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services