czywj commented on issue #22242:
URL: 
https://github.com/apache/shardingsphere/issues/22242#issuecomment-1319474141

   > Migration must use cluster mode of ShardingSphere-Proxy, can you check the 
`server.yaml` config file is exitsing?
   > 
   > just like this
   > 
   > ```
   > mode:
   >   type: Cluster
   >   repository:
   >     type: ZooKeeper
   >     props:
   >       namespace: xxx
   >       server-lists: localhost:2181
   >       retryIntervalMilliseconds: 500
   >       timeToLiveSeconds: 60
   >       maxRetries: 3
   >       operationTimeoutMilliseconds: 500
   > ```
   > 
   > @czywj
   
   The configuration is as follows:
   
   rules:
     - !AUTHORITY
       users:
         - root@%:root
         - sharding@:sharding
       provider:
         type: ALL_PRIVILEGES_PERMITTED
     - !TRANSACTION
       defaultType: XA
       providerType: Atomikos
     - !SQL_PARSER
       sqlCommentParseEnabled: true
   databaseName: sharding_db
   
   dataSources:
     ds_0:
       url: 
jdbc:opengauss://10.10.10.10:30095/ds_m?serverTimezone=UTC&useSSL=false&connectTimeout=10
       username: test
       password: test
       connectionTimeoutMilliseconds: 30000
       idleTimeoutMilliseconds: 60000
       maxLifetimeMilliseconds: 1800000
       maxPoolSize: 50
       minPoolSize: 1
   The sharding-proxy is used
   @azexcy 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to