Commit 3735077cd65e4a4f3cffec7db6c2a46dfce73382

Authored by 潘钊
1 parent 63069cb5

update

src/main/resources/application-dev.properties
... ... @@ -2,15 +2,15 @@ server.port=9088
2 2 management.port= 9001
3 3 management.address= 127.0.0.1
4 4  
5   -spring.jpa.hibernate.ddl-auto= update
  5 +spring.jpa.hibernate.ddl-auto= none
6 6 spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy
7 7 #DATABASE
8 8 spring.jpa.database= MYSQL
9 9 spring.jpa.show-sql= true
10 10 spring.datasource.driver-class-name= com.mysql.jdbc.Driver
11   -spring.datasource.url= jdbc:mysql://127.0.0.1:3306/control
  11 +spring.datasource.url= jdbc:mysql://192.168.168.201:3306/control
12 12 spring.datasource.username= root
13   -spring.datasource.password=
  13 +spring.datasource.password= 123456
14 14 #DATASOURCE
15 15 spring.datasource.max-active=100
16 16 spring.datasource.max-idle=8
... ... @@ -24,7 +24,6 @@ spring.datasource.test-while-idle=true
24 24 spring.datasource.validation-query=select 1
25 25  
26 26 ##
27   -#222.66.0.204:5555
28 27 ##\u5B9E\u65F6gps
29 28 http.gps.real.url= http://192.168.168.171:8080/transport_server/rtgps/
30 29 ##\u6D88\u606F\u4E0B\u53D1
... ...
src/main/resources/ms-jdbc.properties
... ... @@ -4,6 +4,7 @@
4 4 #ms.mysql.password= root2jsp
5 5  
6 6 ms.mysql.driver= com.mysql.jdbc.Driver
7   -ms.mysql.url= jdbc:mysql://222.66.0.204:3306/ms?useUnicode=true&characterEncoding=utf-8
  7 +#ms.mysql.url= jdbc:mysql://222.66.0.204:3306/ms?useUnicode=true&characterEncoding=utf-8
  8 +ms.mysql.url= jdbc:mysql://192.168.168.201:3306/ms?useUnicode=true&characterEncoding=utf-8
8 9 ms.mysql.username= root
9 10 ms.mysql.password= 123456
10 11 \ No newline at end of file
... ...