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

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