You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "Yule-Momoko (via GitHub)" <gi...@apache.org> on 2023/10/23 11:27:27 UTC
[I] Caused by: org.apache.shardingsphere.infra.exception.TableNotExistsException: Table or view `MY_TABLE` does not exist. [shardingsphere]
Yule-Momoko opened a new issue, #28848:
URL: https://github.com/apache/shardingsphere/issues/28848
## Bug Report
**For English only**, other languages will not accept.
Before report a bug, make sure you have:
- Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere/issues).
- Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview).
Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot reproduce it on current information, we will **close it**.
Please answer these questions before submitting your issue. Thanks!
### Which version of ShardingSphere did you use?
5.4.1
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
### Expected behavior
Can query normally
### Actual behavior
The prompt table does not exist, but I confirm that the table does exist and can be executed in 5.4.0
Caused by: org.apache.shardingsphere.infra.exception.TableNotExistsException: Table or view `MY_TABLE` does not exist.
### Reason analyze (If you can)
Only read and write separation is configured:
dataSources:
write-ds-1:
dataSourceClassName: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver
url: 'jdbc:mysql://writexxxx:3306/test?serverTimezone=Asia/Shanghai&autoReconnect=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true&allowMultiQueries=true'
username: xxx
password: xxx
write-ds-1-read:
dataSourceClassName: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver
url: 'jdbc:mysql://readxxx:3306/test?serverTimezone=Asia/Shanghai&autoReconnect=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true&allowMultiQueries=true'
username: xxx
password: xxx
rules:
!READWRITE_SPLITTING
dataSources:
ds1:
writeDataSourceName: write-ds-1
readDataSourceNames:
- write-ds-1-read
transactionalReadQueryStrategy: PRIMARY
loadBalancerName: round_robin
loadBalancers:
round_robin:
type: ROUND_ROBIN
props:
sql-show: true
### 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
Re: [I] Caused by: org.apache.shardingsphere.infra.exception.TableNotExistsException: Table or view `MY_TABLE` does not exist. [shardingsphere]
Posted by "fanzhiyi0601 (via GitHub)" <gi...@apache.org>.
fanzhiyi0601 commented on issue #28848:
URL: https://github.com/apache/shardingsphere/issues/28848#issuecomment-1820313143
> Please add single table configuration, refer to : https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/yaml-config/rules/single/
It doesn't work well in Oracle.
--
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
Re: [I] Caused by: org.apache.shardingsphere.infra.exception.TableNotExistsException: Table or view `MY_TABLE` does not exist. [shardingsphere]
Posted by "Keanhua (via GitHub)" <gi...@apache.org>.
Keanhua commented on issue #28848:
URL: https://github.com/apache/shardingsphere/issues/28848#issuecomment-1776413880
i occured the same exception
--
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
Re: [I] Caused by: org.apache.shardingsphere.infra.exception.TableNotExistsException: Table or view `MY_TABLE` does not exist. [shardingsphere]
Posted by "zhaojinchao95 (via GitHub)" <gi...@apache.org>.
zhaojinchao95 commented on issue #28848:
URL: https://github.com/apache/shardingsphere/issues/28848#issuecomment-1777289810
Please add single table configuration, refer to : https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/yaml-config/rules/single/
--
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
Re: [I] Caused by: org.apache.shardingsphere.infra.exception.TableNotExistsException: Table or view `MY_TABLE` does not exist. [shardingsphere]
Posted by "Yule-Momoko (via GitHub)" <gi...@apache.org>.
Yule-Momoko commented on issue #28848:
URL: https://github.com/apache/shardingsphere/issues/28848#issuecomment-1778390063
> Please add single table configuration, refer to : https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/yaml-config/rules/single/
ok
--
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
Re: [I] Caused by: org.apache.shardingsphere.infra.exception.TableNotExistsException: Table or view `MY_TABLE` does not exist. [shardingsphere]
Posted by "Yule-Momoko (via GitHub)" <gi...@apache.org>.
Yule-Momoko closed issue #28848: Caused by: org.apache.shardingsphere.infra.exception.TableNotExistsException: Table or view `MY_TABLE` does not exist.
URL: https://github.com/apache/shardingsphere/issues/28848
--
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