如图 数据库连接设置为本地就启动不起来 停在这里 换为阿里云就启动正常 什么情况
下面这个图片是连接换成阿里云后启动正常
以下是数据库配置:
spring.application.name = xmzjcqgl
server.port = 8529
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://39.98.209.181:3306/history_as10_order?useUnicode=true&characterEncoding=UTF-8
spring.datasource.username=dog
spring.datasource.password=riskdev
#spring.datasource.url=jdbc:mysql://localhost:3306/history_as10_order?seSSL=true
#spring.datasource.username=root
#spring.datasource.password=root
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#spring.jpa.properties.hibernate.hbm2ddl.auto=update
mybatis.type-aliases-package=com.example.xmzjcqgl.model
mybatis.mapper-locations=classpath:mybatis/*.xml
maxHttpHeaderSize="1"
#编码格式
charset=UTF-8