inleft
2022-02-22 0be3c4b961d524933363dd26d997f9505333e0ff
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
20
9bcb19 21 # Oracle数据库
I 22 #spring:
23 #  datasource:
24 #    driver-class-name: oracle.jdbc.OracleDriver
25 #    url: jdbc:oracle:thin:@localhost:1521:xe
26 #    username: SNOWY-PUB-ORACLE
27 #    password: 123456
28
29 # SQLServer配置
30 #spring:
31 #  datasource:
32 #    driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
33 #    url: jdbc:sqlserver://localhost:1433;DatabaseName=snowy-pub-mssql
34 #    username: sa
35 #    password: 123456
36
37 # PostgreSQL配置
38 #spring:
39 #  datasource:
40 #    driverClassName: org.postgresql.Driver
41 #    url: jdbc:postgresql://127.0.0.1:5432/snowy-pub-postgresql
42 #    username: postgres
43 #    password: 123456
44
45 # 达梦数据库
46 #spring:
47 #  datasource:
48 #    driver-class-name: dm.jdbc.driver.DmDriver
49 #    url: jdbc:dm://localhost:5236/snowy-pub-dm
50 #    username: SNOWY
51 #    password: 123456789
52 # #达梦数据库兼容问题,不需要在sql语句前加模式名的解决方法:
53 # #https://blog.csdn.net/myth8860/article/details/100557705
54
55 # 人大金仓数据库
56 #spring:
57 #  datasource:
58 #    driver-class-name: com.kingbase8.Driver
59 #    url: jdbc:kingbase8://localhost:54321/snowy-pub-kingbase
60 #    username: SYSTEM
61 #    password: 123456
62 # #人大金仓数据库兼容问题,不需要加在sql语句中加public的解决方法:
63 # #在根目录data下的kingbase.conf文档里面找到search_path = '"$user",PUBLIC,sys_catalog'进行替换放开
64 # #重启数据库即可完全兼容,注意 sql中不能出现mysql中的关键字的单引号