Added default custom datasource properties

This commit is contained in:
Rohan Sircar 2020-05-30 13:15:52 +05:30
parent ecc5091994
commit 5130f2d87a

View File

@ -3,6 +3,13 @@
#spring.datasource.url = jdbc:mysql://localhost:3306/chatto_db?useSSL=false #spring.datasource.url = jdbc:mysql://localhost:3306/chatto_db?useSSL=false
#spring.datasource.username = chatto_user #spring.datasource.username = chatto_user
#spring.datasource.password = password #spring.datasource.password = password
chatto.datasource.username=chatto_user
chatto.datasource.password=password
chatto.datasource.database-name=chatto_db2
chatto.datasource.url=localhost
chatto.datasource.port=3306
chatto.datasource.params=useSSL=false
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
## Hibernate Properties ## Hibernate Properties
# The SQL dialect makes Hibernate generate better SQL for the chosen database # The SQL dialect makes Hibernate generate better SQL for the chosen database