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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]