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

[I] why my yaml properties datasources contain _ will report [shardingsphere]

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

   ## Question
   
   **For English only**, other languages will not accept.
   
   Before asking a question, make sure you have:
   
   - Googled your question.
   - Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere/issues).
   - Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   Please pay attention on issues you submitted, because we maybe need more details. 
   If no response anymore and we cannot reproduce it on current information, we will **close it**.
   


-- 
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] why my yaml properties datasource contain _ will report error?? [shardingsphere]

Posted by "terrymanu (via GitHub)" <gi...@apache.org>.
terrymanu closed issue #31614: why my yaml properties datasource contain _ will report error??
URL: https://github.com/apache/shardingsphere/issues/31614


-- 
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] why my yaml properties datasource contain _ will report error?? [shardingsphere]

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

   > The following is my configuration, which is OK in version 5.5.1: ![image](https://private-user-images.githubusercontent.com/34822229/337555272-239daa9a-6ff1-4a83-a6f8-2d27b06d3459.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTc3NDM0MDgsIm5iZiI6MTcxNzc0MzEwOCwicGF0aCI6Ii8zNDgyMjIyOS8zMzc1NTUyNzItMjM5ZGFhOWEtNmZmMS00YTgzLWE2ZjgtMmQyN2IwNmQzNDU5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjA3VDA2NTE0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg2MGY5MTdiNTk3NGExNjhjOWE1MWZmMmRjODQwODljNTBiOGNmMDE0MTZhOTNkNzUzYjYwMDExYWYyMTE3ZjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.n8Bzsjf9qYnJ_wvLI3R_TgTn8onAupTaUdzgbRADB80)
   
   what is you shardingjdbc version?


-- 
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] why my yaml properties datasource contain _ will report error?? [shardingsphere]

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

   The following is my configuration, which is OK in version 5.5.1:
   ![image](https://github.com/apache/shardingsphere/assets/34822229/239daa9a-6ff1-4a83-a6f8-2d27b06d3459)


-- 
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] why my yaml properties datasources contain _ will report [shardingsphere]

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

   here is my datasource config
       shardingsphere:
           datasource:
               ds_test:
                   driver-class-name: com.mysql.cj.jdbc.Driver
                   jdbc-url: jdbc:mysql://192.168.137.10:3306/ds_test
                   password: mysql123
                   type: com.zaxxer.hikari.HikariDataSource
                   username: root
               names: ds_test
           props:
               sql:
                   show: true
   
   
   and  here is the  error
   
   Configuration property name 'spring.shardingsphere.datasource.ds_test' is not valid:
   
       Invalid characters: '_'
       Bean: org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration
       Reason: Canonical names should be kebab-case ('-' separated), lowercase alpha-numeric characters and must start with a letter
   
   Action:
   
   Modify 'spring.shardingsphere.datasource.ds_test' so that it conforms to the canonical names requirements.
   


-- 
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] why my yaml properties datasource contain _ will report error?? [shardingsphere]

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

   > > > The following is my configuration, which is OK in version 5.5.1: ![image](https://private-user-images.githubusercontent.com/34822229/337555272-239daa9a-6ff1-4a83-a6f8-2d27b06d3459.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTc3NDM0MDgsIm5iZiI6MTcxNzc0MzEwOCwicGF0aCI6Ii8zNDgyMjIyOS8zMzc1NTUyNzItMjM5ZGFhOWEtNmZmMS00YTgzLWE2ZjgtMmQyN2IwNmQzNDU5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjA3VDA2NTE0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg2MGY5MTdiNTk3NGExNjhjOWE1MWZmMmRjODQwODljNTBiOGNmMDE0MTZhOTNkNzUzYjYwMDExYWYyMTE3ZjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.n8Bzsjf9qYnJ_wvLI3R_TgTn8onAupTaUdzgbRADB80)
   > > 
   > > 
   > > what is you shardingjdbc version?
   > 
   > As mentioned above, my ssp-jdbc is version 5.5.1
   
   ok   thanks !  mine is 4.0.0-RC1 .  i will try  you version


-- 
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] why my yaml properties datasource contain _ will report error?? [shardingsphere]

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

   The version 4.x is out of service, please try version 5.5.x


-- 
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] why my yaml properties datasource contain _ will report error?? [shardingsphere]

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

   Do you have any compatibility solutions??


-- 
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] why my yaml properties datasource contain _ will report error?? [shardingsphere]

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

   > > The following is my configuration, which is OK in version 5.5.1: ![image](https://private-user-images.githubusercontent.com/34822229/337555272-239daa9a-6ff1-4a83-a6f8-2d27b06d3459.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTc3NDM0MDgsIm5iZiI6MTcxNzc0MzEwOCwicGF0aCI6Ii8zNDgyMjIyOS8zMzc1NTUyNzItMjM5ZGFhOWEtNmZmMS00YTgzLWE2ZjgtMmQyN2IwNmQzNDU5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjA3VDA2NTE0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg2MGY5MTdiNTk3NGExNjhjOWE1MWZmMmRjODQwODljNTBiOGNmMDE0MTZhOTNkNzUzYjYwMDExYWYyMTE3ZjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.n8Bzsjf9qYnJ_wvLI3R_TgTn8onAupTaUdzgbRADB80)
   > 
   > what is you shardingjdbc version?
   
   As mentioned above, my ssp-jdbc is version 5.5.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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org