Jelajahi Sumber

修改数据库密码

guochao 4 tahun lalu
induk
melakukan
42a5b3c52e
2 mengubah file dengan 7 tambahan dan 10 penghapusan
  1. 4 4
      .idea/workspace.xml
  2. 3 6
      src/main/resources/application.yml

+ 4 - 4
.idea/workspace.xml

@@ -2,11 +2,8 @@
 <project version="4">
   <component name="ChangeListManager">
     <list default="true" id="c25ee83f-38b8-4a56-8a1f-62ecc8d6cec2" name="Default Changelist" comment="">
-      <change afterPath="$PROJECT_DIR$/src/main/resources/logback.xml" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/src/main/resources/application.yml" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/application.yml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/src/main/resources/static/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/static/index.html" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/src/main/resources/static/index_tem.html" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/static/index_tem.html" afterDir="false" />
     </list>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
     <option name="SHOW_DIALOG" value="false" />
@@ -157,7 +154,10 @@
       <workItem from="1582719343080" duration="4019000" />
       <workItem from="1583024656089" duration="310000" />
       <workItem from="1583115499177" duration="528000" />
-      <workItem from="1583155605297" duration="14779000" />
+      <workItem from="1583155605297" duration="15437000" />
+      <workItem from="1585479218076" duration="1916000" />
+      <workItem from="1585526195711" duration="335000" />
+      <workItem from="1585532433928" duration="749000" />
     </task>
     <servers />
   </component>

+ 3 - 6
src/main/resources/application.yml

@@ -4,10 +4,7 @@ spring:
     active: report-server-online
   datasource:
     driver-class-name: com.mysql.jdbc.Driver
-    #    url: jdbc:mysql://101.37.175.111:3306/crowd-test-service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8
-    #    username: mooctest
-    #    password: secr3t!
-    # Keep the connection alive if idle for a long time (needed in production)
+#     Keep the connection alive if idle for a long time (needed in production)
     testWhileIdle: true
     validationQuery: SELECT 1
     # Show or not log for each sql query
@@ -60,7 +57,7 @@ spring:
   datasource:
     url: jdbc:mysql://106.14.81.62:3306/report_service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8
     username: root
-    password: 123456
+    password: KBrhRYguzeZh4cFh
 order.autoReport.upload.path: /Users/guochao/Desktop/project/enterprise-mooctest-site/var/www/reportFile/
 order.autoReport.builder.copyPath: /Users/guochao/Desktop/project/enterprise-mooctest-site/var/www/reportBuilder/
 order.autoReport.service.path: /Users/guochao/Desktop/project/enterprise-mooctest-site/projects/mooctest-report-template/
@@ -78,7 +75,7 @@ spring:
   datasource:
     url: jdbc:mysql://106.14.81.62:3306/report_service?useSSL=false&useUnicode=yes&characterEncoding=UTF-8
     username: root
-    password: 123456
+    password: KBrhRYguzeZh4cFh
 static.resource.autoReport.url: /reportFile/
 order.autoReport.upload.path: /var/www/reportFile/
 order.autoReport.service.path: /root/mooctest-report-template/