tuohai666 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-521141022
 
 
   > 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.(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)
   
   I can't reproduce this error. Please try 4.0.0-RC2-SNAPSHOT in dev branch.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to