1、修改配置文件:
datasource:
url: jdbc:mysql://XXXXXXX:XXXX/onechat
#sername: root
username: root
password: root
2、修改配置文件:
datasource:
url: jdbc:mysql://XXXXXXX:XXXX/onechat
#sername: root
username: root
password: root
driver-class: com.mysql.jdbc.Driver