You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "FlyingZC (via GitHub)" <gi...@apache.org> on 2023/05/25 14:46:48 UTC

[GitHub] [shardingsphere] FlyingZC opened a new issue, #25899: Exception occurred when querying information_schema.schemata

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

   ## Bug Report
   ```sql
   mysql> select * from information_schema.schemata;
   ERROR 30000 (HY000): Unknown exception: Index: 5, Size: 5
   ```
   
   ### Which version of ShardingSphere did you use?
   Master.
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   Proxy.
   
   ### Expected behavior
   Query successful.
   
   ### Actual behavior
   
   ### Reason analyze (If you can)
   <img width="486" alt="image" src="https://github.com/apache/shardingsphere/assets/19788130/af886f2b-638e-46e5-926a-2453ccbcf724">
   Some rows have only 5 columns, normal is 6 columns.
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   Execute `select * from information_schema.schemata;` in proxy.
   
   ### 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] zhangfengcdt commented on issue #25899: Exception occurred when querying information_schema.schemata

Posted by "zhangfengcdt (via GitHub)" <gi...@apache.org>.
zhangfengcdt commented on issue #25899:
URL: https://github.com/apache/shardingsphere/issues/25899#issuecomment-1661281381

   I think the root cause of this issue is that the `SCHEMATA .DEFAULT_ENCRYPTION` was newly added to MySQL 8.0.16 (2019-04-25, General Availability). 
   
   The current code (master) add default columns based on this new schema, however, when users use the older version of MySQL, the merged rows does not contain such column. Also, the `schemata.yaml` file failed to include the new column as well (see this [PR](https://github.com/apache/shardingsphere/pull/27620) to add it).
   
    @FlyingZC What MySQL version did you use for this bug report?
   


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


[GitHub] [shardingsphere] FlyingZC commented on issue #25899: Exception occurred when querying information_schema.schemata

Posted by "FlyingZC (via GitHub)" <gi...@apache.org>.
FlyingZC commented on issue #25899:
URL: https://github.com/apache/shardingsphere/issues/25899#issuecomment-1661489630

   @zhangfengcdt Hi,I have a problem testing on mysql 5.7,you can test whether this sql can be executed correctly on mysql5.7 and mysql8 by shardingsphere-proxy.


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


[GitHub] [shardingsphere] boyjoy1127 commented on issue #25899: Exception occurred when querying information_schema.schemata

Posted by "boyjoy1127 (via GitHub)" <gi...@apache.org>.
boyjoy1127 commented on issue #25899:
URL: https://github.com/apache/shardingsphere/issues/25899#issuecomment-1585976590

   Will this issue be completed before June 15 which is the final date of version 5.4.0?


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


[GitHub] [shardingsphere] strongduanmu closed issue #25899: Exception occurred when querying information_schema.schemata

Posted by "strongduanmu (via GitHub)" <gi...@apache.org>.
strongduanmu closed issue #25899: Exception occurred when querying information_schema.schemata
URL: https://github.com/apache/shardingsphere/issues/25899


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