From 09f35ab58d22c6d8b186ddb1abefdee665d48ac3 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Mon, 18 Aug 2025 17:28:29 +0800
Subject: [PATCH] 1
---
src/main/resources/application.yml | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index d53b32c..859d5fb 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,6 +1,8 @@
# 数据源配置
# 开发环境配置
server:
+# profiles:
+# active: local
# 服务器的HTTP端口,默认为8090
port: 8091
tomcat:
@@ -15,6 +17,8 @@
min-spare: 100
# 日志配置
logging:
+ file:
+ encoding: UTF-8
level:
com.ruoyi: debug
org.springframework: warn
@@ -102,9 +106,10 @@
# 地址
host: localhost
# 端口,默认为6379
- port: 6379
+# port: 6379
+ port: 6380
# 数据库索引
- database: 0
+ database: 2
# 密码
password:
# 连接超时时间
@@ -122,10 +127,11 @@
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://127.0.0.1:7306/stock?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+ url: jdbc:mysql://127.0.0.1:6306/us?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+# url: jdbc:mysql://127.0.0.1:6306us?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
# url: jdbc:mysql://127.0.0.1:3306/cgstock?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
- password: 123456
+ password: Err;2[eoGFUriwdgr
druid:
# 初始连接数
initialSize: 5
--
Gitblit v1.9.3