提交 e4998f01 编写于 作者: 武汉红喜's avatar 武汉红喜

db.hongxi.org

上级 ff6ed32e
......@@ -31,4 +31,4 @@ dbcp.minEvictableIdleTimeMillis=600000
##dbcp.testWhileIdle=false
whatsmars.jdbc.mysql.username=root
whatsmars.jdbc.mysql.password=root
whatsmars.jdbc.mysql.password=n36bxXMnHina
......@@ -11,7 +11,7 @@
<bean id="dataSource1" class="org.apache.commons.dbcp.BasicDataSource">
<property name="driverClassName" value="com.mysql.jdbc.Driver"></property>
<property name="url" value="jdbc:mysql://localhost:3306/demo_ds_0?useUnicode=true&amp;characterEncoding=UTF-8&amp;autoReconnect=true"></property>
<property name="url" value="jdbc:mysql://db.hongxi.org:3306/demo_ds_0?useUnicode=true&amp;characterEncoding=UTF-8&amp;autoReconnect=true"></property>
<property name="username" value="${whatsmars.jdbc.mysql.username}"></property>
<property name="password" value="${whatsmars.jdbc.mysql.password}"></property>
<property name="maxActive" value="${dbcp.maxActive}"></property>
......@@ -25,7 +25,7 @@
<bean id="dataSource2" class="org.apache.commons.dbcp.BasicDataSource">
<property name="driverClassName" value="com.mysql.jdbc.Driver"></property>
<property name="url" value="jdbc:mysql://localhost:3306/demo_ds_1?useUnicode=true&amp;characterEncoding=UTF-8&amp;autoReconnect=true"></property>
<property name="url" value="jdbc:mysql://db.hongxi.org:3306/demo_ds_1?useUnicode=true&amp;characterEncoding=UTF-8&amp;autoReconnect=true"></property>
<property name="username" value="${whatsmars.jdbc.mysql.username}"></property>
<property name="password" value="${whatsmars.jdbc.mysql.password}"></property>
<property name="maxActive" value="${dbcp.maxActive}"></property>
......
whatsmars.log4j.logger.path=/data/logs
whatsmars.log4j.logger.level=debug
whatsmars.jdbc.mysql.url=jdbc:mysql://localhost:3306/test
whatsmars.jdbc.mysql.url=jdbc:mysql://db.hongxi.org:3306/test
whatsmars.jdbc.mysql.username=root
whatsmars.jdbc.mysql.password=root
whatsmars.jdbc.mysql.password=n36bxXMnHina
##��̨����ϵͳcookie
whatsmars.admin.cookie.security.key=H32ClbJteGTjbZSL
......
whatsmars.jdbc.mysql.url=jdbc:mysql://localhost:3306/test
whatsmars.jdbc.mysql.url=jdbc:mysql://db.hongxi.org:3306/test
whatsmars.jdbc.mysql.username=root
whatsmars.jdbc.mysql.password=root
whatsmars.jdbc.mysql.password=n36bxXMnHina
##��ҵ����
bjxizhan.quartz.cluster.mysql.url=jdbc:mysql://255.254.253.252:3306/quartz
......
whatsmars.log4j.logger.path=/data/logs
whatsmars.log4j.logger.level=debug
whatsmars.jdbc.mysql.url=jdbc:mysql://localhost:3306/test
whatsmars.jdbc.mysql.url=jdbc:mysql://db.hongxi.org:3306/test
whatsmars.jdbc.mysql.username=root
whatsmars.jdbc.mysql.password=root
whatsmars.jdbc.mysql.password=n36bxXMnHina
##��̨����ϵͳcookie
whatsmars.admin.cookie.security.key=H32ClbJteGTjbZSL
......
......@@ -14,15 +14,15 @@ sharding:
ds_0:
type: org.apache.commons.dbcp.BasicDataSource
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/demo_ds_0
url: jdbc:mysql://db.hongxi.org:3306/demo_ds_0
username: root
password: root
password: n36bxXMnHina
ds_1:
type: org.apache.commons.dbcp.BasicDataSource
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/demo_ds_1
url: jdbc:mysql://db.hongxi.org:3306/demo_ds_1
username: root
password: root
password: n36bxXMnHina
config:
sharding:
default-database-strategy:
......
......@@ -41,9 +41,9 @@ pagehelper:
spring:
profiles: dev
datasource:
url: jdbc:mysql://127.0.0.1:3306/test?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
url: jdbc:mysql://db.hongxi.org:3306/test?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
username: root
password: root
password: n36bxXMnHina
driver-class-name: com.mysql.jdbc.Driver
tomcat:
min-idle: 10
......@@ -76,9 +76,9 @@ server:
spring:
profiles: test
datasource:
url: jdbc:mysql://127.0.0.1:3306/wely?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
url: jdbc:mysql://db.hongxi.org:3306/test?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
username: root
password: root
password: n36bxXMnHina
driver-class-name: com.mysql.jdbc.Driver
tomcat:
min-idle: 10
......@@ -107,9 +107,9 @@ server:
spring:
profiles: prod
datasource:
url: jdbc:mysql://127.0.0.1:3306/wely?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
url: jdbc:mysql://db.hongxi.org:3306/test?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
username: root
password: root
password: n36bxXMnHina
driver-class-name: com.mysql.jdbc.Driver
tomcat:
min-idle: 10
......
......@@ -5,6 +5,6 @@
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd"
default-autowire="byName">
<!--dubbo,motan等服务化框架的注解配置做的不是很好,适合用xml配置-->
<!-- 推荐注解方式,xml作为备用方式 -->
</beans>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册