springboot mybatis 多数据源配置
ection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://192.168.1.122:3306/dbName?useSSL=true&useUnicode=true&characterEncoding=utf-8&autoReconnect=true" userId="root" password=""> </jdbcC...
数据库 datetime 类型默认值引起 jdbc 报错
ateTimeBehavior=convertToNull 解决问题。spring.datasource.url=jdbc:mysql://192.168.1.122:3306/db_name?useSSL=true&useUnicode=true&characterEncoding=utf-8&autoReconnect=true&zeroDateTimeBehavior=convertToNull ...
Docker 的一些命令
nightingale", "RestartCount": 0, "Driver": "overlay2", "Platform": "linux", "MountLabel": "", "ProcessLabel": "", "AppArmorProfile": "", "ExecIDs": null, "HostConfig": { "Binds": null, "ContainerIDFile":...
MySQL update where in 子查询导致锁表
#14 {main} 解决方法select * from information_schema.innodb_trx; SELECT * from information_schema.`PROCESSLIST`; 找到死锁的线程,kill 掉。mysql 死锁场景 死锁案例 子查询...
Ngx 反向代理 504 错误解决
eader Connection ""; ... } 另一种方法,指定保持连接,不过不建议这样做。fastcgi_keep_conn on;关于 Nginx 代理详细配置,请看另一片文章《Nginx SSL 代理设置完整示例》。...