spring boot+mybatisPlus配置mysql双数据源 1.yml配置 spring: datasource: primary: type: com.zaxxer.hikari.HikariDataSource driver-class-name: com.mysql.cj.jdbc.Driver jdbc-url: 数据库链接 username: 用户名 password: 密码 secondary: # 次数据源 type: com.zaxxer.hikari.H
容器pod一直处于Terminating状态 因为systemd早起bug所致,升级可以解决问题 询问阿里云工单得到解答: 目前看应该是systemd早期bug问题导致docker hang住了,这个一般出现在低于216-67版本,建议您这边升级下systemd版本 if [[ `rpm -qa systemd| grep systemd-219 `< "systemd-219-67" ]]; then yum update -y systemd; fi && systemctl daemon-reexec &&a
SpringBoot 邮件发送 文本发送 1. 首先POM文件中要添加的 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</artifactId> </dependency> <d...