Browse Source

数据库

gesofts 6 years ago
parent
commit
62066da38d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/spring/applicationContext.xml

+ 1 - 1
src/main/resources/spring/applicationContext.xml

@@ -12,7 +12,7 @@
 	<!-- 数据源:DB连接配置 -->
 	<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
 		<property name="driverClassName" value="com.mysql.jdbc.Driver" />
-		<property name="url" value="jdbc:mysql://127.0.0.1:3306/order?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=UTF-8" />
+		<property name="url" value="jdbc:mysql://47.110.88.109:3306/order?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=UTF-8&useSSL=false" />
 	 	<property name="username" value="root" />
         <property name="password" value="gesoft123!@#" />
 	</bean>