Browse Source

feat: 数据库连接到生产环境

haha 4 years ago
parent
commit
caab6b40b9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      seec-oj-server/src/main/resources/application-prod.yml

+ 2 - 2
seec-oj-server/src/main/resources/application-prod.yml

@@ -2,9 +2,9 @@ server:
   port: 8080
 spring:
   datasource:
-    url: jdbc:mysql://localhost:3306/coder_oj?useUnicode=true&characterEncoding=UTF-8&useSSL=false
+    url: jdbc:mysql://environment-53-192.seec.svc.cluster.local:3306/coder_oj?useUnicode=true&characterEncoding=UTF-8&useSSL=false
     username: root
-    password: root
+    password: NJU67mysql
     driver-class-name: com.mysql.cj.jdbc.Driver
   jpa:
     hibernate: