lanchengx opened a new issue #11911: URL: https://github.com/apache/shardingsphere/issues/11911
Hi, community I have some doubts about `org.apache.shardingsphere.infra.config.datasource.DataSourceValidator#validate()`; Why does this method need to ignore the exception, which will cause the user to be unable to see the detailed information of the MysqlSyntaxErrorException.I don’t know if it’s specially designed like this?  For example: When I use the wrong distSQL to add resources (db3 in the url does not exist)。 ```sql ADD RESOURCE resource_3 ( URL="jdbc:mysql://127.0.0.1:3306/db3?serverTimezone=UTC&useSSL=false", USER=root, PASSWORD=root, PROPERTIES("maximumPoolSize"=10,"idleTimeout"="30000") ); ``` Idea's console will print `MysqlSyntaxErrorException: Unknown database'db3'`, but the client prompts `Can not add invalid resources [resource_3]`.   Is it better to prompt for detailed information? -- 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]
