jds.0.2.5.source-code.application-mysql.yaml Maven / Gradle / Ivy
spring:
datasource:
dbtype: mysql
# useOldAliasMetadataBehavior=true 加上此参数才能取到字段别名
url: jdbc:mysql://192.168.1.22:3306/sjsj2_dev?useOldAliasMetadataBehavior=true&characterEncoding=utf-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai
username: root
password: ma1990
# url: jdbc:mysql://ctbx.trimdata.cn:8042/sjsj_zs?useOldAliasMetadataBehavior=true&characterEncoding=utf-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai
# username: root
# password: CTbx123456.