inleft
2022-02-27 2782f3e576b56a9ca078055026394646d57440f8
commit | author | age
9bcb19 1 # Mysql数据库
I 2 spring:
3   datasource:
4     driver-class-name: com.mysql.cj.jdbc.Driver
0be3c4 5     url: mpw:pOR3O+UltK0HTNqvX/MeDsJDOCUeDoAnP5TsPqREtj0bxBLTo1XHLIS6Y21oT+jpsah70DR4akeas8LPBcuZ0Psml+oiIJdsNx3hZFoKmBhPBy98gqcmfDxRypqZdv/iOyERmUuLC3KOmjAqWMjBvtNwd5cU8LV33ylEfb73oIVmaiRX/7KVYqaDJbSQ49nksDnSaCht9Mjq5997rkcgYD7LGhDdTY1GzQPYY+0T7A3/NUAEMDqaZ2ri/FN8nB7OTnFOs4zr32XSo/0BRHL7mw==
9bcb19 6     username: mpw:Zr3vDuEdTm3NPpydFgU2eA==
I 7     password: mpw:KWYe3LgV6I2rToYRn3k35g==
8 #    url: jdbc:mysql://localhost:3306/blog?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&nullCatalogMeansCurrent=true
9 #    username: root
10 #    password: root
11   redis:
12     host: mpw:74taZBJwkaUlVuljmdqsRg==
13     port: 6379
14     password: mpw:xMwjz92TmxCDCJYvcfwIZA==
15
4d51af 16 mybatis-plus:
I 17     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
18
19
2782f3 20 swagger:
I 21   enable: true
4d51af 22
9bcb19 23 # Oracle数据库
I 24 #spring:
25 #  datasource:
26 #    driver-class-name: oracle.jdbc.OracleDriver
27 #    url: jdbc:oracle:thin:@localhost:1521:xe
28 #    username: SNOWY-PUB-ORACLE
29 #    password: 123456
30
31 # SQLServer配置
32 #spring:
33 #  datasource:
34 #    driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
35 #    url: jdbc:sqlserver://localhost:1433;DatabaseName=snowy-pub-mssql
36 #    username: sa
37 #    password: 123456
38
39 # PostgreSQL配置
40 #spring:
41 #  datasource:
42 #    driverClassName: org.postgresql.Driver
43 #    url: jdbc:postgresql://127.0.0.1:5432/snowy-pub-postgresql
44 #    username: postgres
45 #    password: 123456
46
47 # 达梦数据库
48 #spring:
49 #  datasource:
50 #    driver-class-name: dm.jdbc.driver.DmDriver
51 #    url: jdbc:dm://localhost:5236/snowy-pub-dm
52 #    username: SNOWY
53 #    password: 123456789
54 # #达梦数据库兼容问题,不需要在sql语句前加模式名的解决方法:
55 # #https://blog.csdn.net/myth8860/article/details/100557705
56
57 # 人大金仓数据库
58 #spring:
59 #  datasource:
60 #    driver-class-name: com.kingbase8.Driver
61 #    url: jdbc:kingbase8://localhost:54321/snowy-pub-kingbase
62 #    username: SYSTEM
63 #    password: 123456
64 # #人大金仓数据库兼容问题,不需要加在sql语句中加public的解决方法:
65 # #在根目录data下的kingbase.conf文档里面找到search_path = '"$user",PUBLIC,sys_catalog'进行替换放开
66 # #重启数据库即可完全兼容,注意 sql中不能出现mysql中的关键字的单引号