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