You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "yuyongxing (via GitHub)" <gi...@apache.org> on 2024/12/12 07:52:30 UTC

[I] when executing `ADD RESOURCE` command in ShardingProxy 5.5.1 [shardingsphere]

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

   # Error when executing `ADD RESOURCE` command in ShardingProxy 5.5.1
   
   ## Problem Description
   
   After creating a logical database, I executed the following commands:
   
   ```sql
   USE test;
   
   ADD RESOURCE ds_0 (
       URL="jdbc:mysql://127.0.0.1:3306/test?serverTimezone=UTC&useSSL=false",
       USER=root,
       PASSWORD=root,
       PROPERTIES("maximumPoolSize"=50,"idleTimeout"="60000")
   );
   ```
   However, I encountered the following error:
   ```sql
   [42000][1064] You have an error in your SQL syntax: no viable alternative at input 'ADD' near '[@1,45:47='ADD',<88>,1:45]' at line 1
   


-- 
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] when executing `ADD RESOURCE` command in ShardingProxy 5.5.1 [shardingsphere]

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

   Your version is 5.5.1, why do you see 5.1.2's document?


-- 
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] when executing `ADD RESOURCE` command in ShardingProxy 5.5.1 [shardingsphere]

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

   Where do you find the syntax?


-- 
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] when executing `ADD RESOURCE` command in ShardingProxy 5.5.1 [shardingsphere]

Posted by "yuyongxing (via GitHub)" <gi...@apache.org>.
yuyongxing closed issue #34024: when executing `ADD RESOURCE` command in ShardingProxy 5.5.1
URL: https://github.com/apache/shardingsphere/issues/34024


-- 
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] when executing `ADD RESOURCE` command in ShardingProxy 5.5.1 [shardingsphere]

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

   I knowed


-- 
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] when executing `ADD RESOURCE` command in ShardingProxy 5.5.1 [shardingsphere]

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

   https://shardingsphere.apache.org/document/5.1.2/cn/user-manual/shardingsphere-proxy/distsql/syntax/rdl/resource-definition/


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