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 2022/05/26 03:36:16 UTC

[GitHub] [shardingsphere] strongduanmu opened a new issue, #17954: Can not query mysql system tables when I config information_schema logic database

strongduanmu opened a new issue, #17954:
URL: https://github.com/apache/shardingsphere/issues/17954

   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   
   https://github.com/apache/shardingsphere/commit/28345eb8748f70d5458f9805dbdca09f59b1d385
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   
   ShardingSphere-Proxy
   
   ### Expected behavior
   
   Execute `select * from VIEWS;`, and then return results.
   
   ### Actual behavior
   
   Following is my sharding configuration:
   
   ```yaml
   schemaName: information_schema
   dataSources:
     ds:
       url: jdbc:mysql://127.0.0.1:3306/information_schema?characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&autoReconnect=true&failOverReadOnly=false
       username: root
       password: 123456
       connectionTimeoutMilliseconds: 30000
       idleTimeoutMilliseconds: 60000
       maxLifetimeMilliseconds: 1800000
       maxPoolSize: 50
       minPoolSize: 1
   
   rules:
     - !SHARDING
       defaultDatabaseStrategy:
         none:
       defaultTableStrategy:
         none:
   ```
   
   When I execute `select * from VIEWS` in the `INFORMATION_SCHEMA` database, the result is empty.
   
   <img width="1285" alt="image" src="https://user-images.githubusercontent.com/10829171/170410887-c1fd6c0e-f6bb-4727-bc48-e2f165c64ae2.png">
   
   ### Reason analyze (If you can)
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   
   ### Example codes for reproduce this issue (such as a github link).
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] totalo closed issue #17954: Can not query mysql system tables when I config information_schema logic database

Posted by GitBox <gi...@apache.org>.
totalo closed issue #17954: Can not query mysql system tables when I config information_schema logic database
URL: https://github.com/apache/shardingsphere/issues/17954


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org