You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "zhaojinchao95 (via GitHub)" <gi...@apache.org> on 2023/08/15 16:01:11 UTC

[GitHub] [shardingsphere] zhaojinchao95 opened a new issue, #28104: Restart ShardingSphere-Proxy throws IllegalStateException when use H2 or MySQL persistence type in Standalone

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

   ```
   mode:
     type: Standalone
     repository:
       type: JDBC
       props:
         provider: MySQL
         jdbc_url: jdbc:mysql://localhost:3306/test
         username: root
         password: 123456
   ```
   
   ```
   Tue Aug 15 23:36:34 CST 2023 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
   Exception in thread "main" java.lang.IllegalStateException: Duplicate key information_schema (attempted merging values org.apache.shardingsphere.infra.config.database.impl.DataSourceGeneratedDatabaseConfiguration@43effd89 and org.apache.shardingsphere.infra.config.database.impl.DataSourceGeneratedDatabaseConfiguration@2c16fadb)
   	at java.base/java.util.stream.Collectors.duplicateKeyException(Collectors.java:133)
   	at java.base/java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Collectors.java:180)
   	at java.base/java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
   	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
   	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
   	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
   	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
   	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
   	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
   	at org.apache.shardingsphere.mode.metadata.MetaDataContextsFactory.createEffectiveDatabaseConfigurations(MetaDataContextsFactory.java:126)
   	at org.apache.shardingsphere.mode.metadata.MetaDataContextsFactory.create(MetaDataContextsFactory.java:91)
   	at org.apache.shardingsphere.mode.metadata.MetaDataContextsFactory.create(MetaDataContextsFactory.java:74)
   	at org.apache.shardingsphere.mode.manager.standalone.StandaloneContextManagerBuilder.build(StandaloneContextManagerBuilder.java:60)
   	at org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.createContextManager(BootstrapInitializer.java:81)
   	at org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.init(BootstrapInitializer.java:62)
   	at org.apache.shardingsphere.proxy.Bootstrap.main(Bootstrap.java:55)
   ```


-- 
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] strongduanmu closed issue #28104: Restart ShardingSphere-Proxy throws IllegalStateException when use H2 or MySQL persistence type in Standalone

Posted by "strongduanmu (via GitHub)" <gi...@apache.org>.
strongduanmu closed issue #28104: Restart ShardingSphere-Proxy throws IllegalStateException when use H2 or MySQL persistence type in Standalone
URL: https://github.com/apache/shardingsphere/issues/28104


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