# Mysql数据库 spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: mpw:pOR3O+UltK0HTNqvX/MeDsJDOCUeDoAnP5TsPqREtj0bxBLTo1XHLIS6Y21oT+jpsah70DR4akeas8LPBcuZ0Psml+oiIJdsNx3hZFoKmBhPBy98gqcmfDxRypqZdv/iOyERmUuLC3KOmjAqWMjBvtNwd5cU8LV33ylEfb73oIVmaiRX/7KVYqaDJbSQ49nksDnSaCht9Mjq5997rkcgYD7LGhDdTY1GzQPYY+0T7A3/NUAEMDqaZ2ri/FN8nB7OTnFOs4zr32XSo/0BRHL7mw== username: mpw:Zr3vDuEdTm3NPpydFgU2eA== password: mpw:KWYe3LgV6I2rToYRn3k35g== # url: jdbc:mysql://localhost:3306/blog?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&nullCatalogMeansCurrent=true # username: root # password: root redis: host: mpw:Ck8aKOzJ5ocPfWENU0oJnA== port: 6379 password: mpw:xMwjz92TmxCDCJYvcfwIZA== mybatis-plus: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl swagger: enable: true # Oracle数据库 #spring: # datasource: # driver-class-name: oracle.jdbc.OracleDriver # url: jdbc:oracle:thin:@localhost:1521:xe # username: SNOWY-PUB-ORACLE # password: 123456 # SQLServer配置 #spring: # datasource: # driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver # url: jdbc:sqlserver://localhost:1433;DatabaseName=snowy-pub-mssql # username: sa # password: 123456 # PostgreSQL配置 #spring: # datasource: # driverClassName: org.postgresql.Driver # url: jdbc:postgresql://127.0.0.1:5432/snowy-pub-postgresql # username: postgres # password: 123456 # 达梦数据库 #spring: # datasource: # driver-class-name: dm.jdbc.driver.DmDriver # url: jdbc:dm://localhost:5236/snowy-pub-dm # username: SNOWY # password: 123456789 # #达梦数据库兼容问题,不需要在sql语句前加模式名的解决方法: # #https://blog.csdn.net/myth8860/article/details/100557705 # 人大金仓数据库 #spring: # datasource: # driver-class-name: com.kingbase8.Driver # url: jdbc:kingbase8://localhost:54321/snowy-pub-kingbase # username: SYSTEM # password: 123456 # #人大金仓数据库兼容问题,不需要加在sql语句中加public的解决方法: # #在根目录data下的kingbase.conf文档里面找到search_path = '"$user",PUBLIC,sys_catalog'进行替换放开 # #重启数据库即可完全兼容,注意 sql中不能出现mysql中的关键字的单引号