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/12/14 08:27:28 UTC
[GitHub] [shardingsphere] zhangjianleittntty opened a new issue, #22869: This is Shardingsphere-proxy about the distSQL a question
zhangjianleittntty opened a new issue, #22869:
URL: https://github.com/apache/shardingsphere/issues/22869
1.The shardingsphere-proxy application was started.
2.Mysql was connection to shardingsphere-proxy.
3.SQL: Insert and Update its went to processor sharding operation.
4.Question: The data transfer is from old table to multi-tables. The DistSQL exection is error.
**(1)**>mysql> ADD RESOURCE resource_1 (
-> URL=jdbc:mysql://127.0.0.1:3310/orderweek_0?serverTimezone=UTC&useSSL=false,
-> USER=root,
-> PASSWORD=12345678,
-> PROPERTIES(maximumPoolSize=10,idleTimeout=30000));
**Result:**
> You have an error in your SQL syntax: ADD RESOURCE resource_1..........
**(2)**mysql> REGISTER STORAGE UNIT ds_2 (
-> URL="jdbc:mysql://127.0.0.1:3310/orderweek_0?serverTimezone=UTC&useSSL=false",
-> USER="root",
-> PASSWORD="12345678",
-> PROPERTIES("minPoolSize"="1","maxPoolSize"="20","idleTimeout"="60000")
-> );
**Result:**
>You have an error in your SQL syntax: REGISTER STORAGE UNIT ds_2..........
**(3)**mysql> MIGRATE TABLE ds_2.order_info INTO order_info;
**Result:**
>ERROR 30000 (HY000): Unknown exception: null
--
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] This is Shardingsphere-proxy about the distSQL a question [shardingsphere]
Posted by "terrymanu (via GitHub)" <gi...@apache.org>.
terrymanu closed issue #22869: This is Shardingsphere-proxy about the distSQL a question
URL: https://github.com/apache/shardingsphere/issues/22869
--
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] zhangjianleittntty commented on issue #22869: This is Shardingsphere-proxy about the distSQL a question
Posted by GitBox <gi...@apache.org>.
zhangjianleittntty commented on issue #22869:
URL: https://github.com/apache/shardingsphere/issues/22869#issuecomment-1352448053
using version is:5.2.1 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] azexcy commented on issue #22869: This is Shardingsphere-proxy about the distSQL a question
Posted by GitBox <gi...@apache.org>.
azexcy commented on issue #22869:
URL: https://github.com/apache/shardingsphere/issues/22869#issuecomment-1350654877
Hi @zhangjianleittntty thanks for feedback, But this information is too little, such as missing version of `ShardingSphere-Proxy` used. Please follow the template for feedback questions.
By the way, if you `REGISTER STORAGE UNIT ds_2` failed, the migration failed is as expected, maybe we should improve the error messages in migration failed.
--
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