Przeglądaj źródła

修改数据库连接为内网

xueyiming 4 miesięcy temu
rodzic
commit
9b7ca82fd6

+ 1 - 1
long-article-server/src/main/resources/application-prod.properties

@@ -2,7 +2,7 @@ server.port=8080
 
 spring.datasource.username=changwen_admin
 spring.datasource.password=changwen@123456
-spring.datasource.url=jdbc:mysql://rm-bp14529nwwcw75yr1ko.mysql.rds.aliyuncs.com:3306/long_articles?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true
+spring.datasource.url=jdbc:mysql://rm-bp14529nwwcw75yr1.mysql.rds.aliyuncs.com:3306/long_articles?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true
 
 spring.redis.database=2
 spring.redis.host=r-bp154bpw97gptefiqkpd.redis.rds.aliyuncs.com