Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dandyzzm committed Jan 14, 2020
1 parent 4125e20 commit 136fb61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/resources/spring/applicationContext.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<!-- 数据源:DB连接配置 -->
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="com.mysql.jdbc.Driver" />
<property name="url" value="jdbc:mysql://YourDBHost:YourDBPort/order?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=UTF-8" />
<property name="username" value="YourDBUsername" />
<property name="password" value="YourDBPassword" />
<property name="url" value="jdbc:mysql://192.168.180.128:3306/order?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=UTF-8" />
<property name="username" value="root" />
<property name="password" value="123456" />
</bean>

<!-- 数据会话工厂:映射模型包-->
Expand Down

0 comments on commit 136fb61

Please sign in to comment.