1.参考文章:https://www.cnblogs.com/liangmm/p/12068392.html
主要是autoRuntimeDialect = true自动切换方言的
application.yml的配置 # PageHelper分页插件 pagehelper: reasonable: true supportMethodsArguments: true params: count=countSql auto-runtime-dialect: true #默认false,当为true时,自动检验适合的数据库 # auto-dialect: true
动态继承数据源参考: