change database and readme.md

This commit is contained in:
nigel 2016-09-05 06:55:34 +08:00
parent 4cf265653d
commit 994bc9c224
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,8 @@
##this project is mainly used to get the github software recommendation of stackoverflow users
##to run this project, firstly you need to install JDK1.7+
##in folder rec, use "mvn assembly:assembly" to compile this project
##use index_main.sh filter_projects.sh main.sh to run each subprogram
The project mainly consists of five parts
@ -50,7 +54,7 @@ structure: Id, UserId, AllTags(eg:<file-io,java>)
structure: same structure as Users
6. projects: this is the projects table of github
##the database we used in this project is stackoverflow. If you want to change the name, modify applicationContext.xml applicationContext_mybatis.xml in src/main/resources
##the database we used in this project is ow2(source database) and ossean_production(target database). If you want to change the name, modify applicationContext.xml applicationContext_mybatis.xml in bin/resources
##the demo we will present in http://ossean.trustie.net/softwarerec

View File

@ -21,7 +21,7 @@
<property name="url"
value="jdbc:mysql://172.16.128.33:3306/ow2?characterEncoding=UTF-8&amp;zeroDateTimeBehavior=convertToNull&amp;autoReconnect=true" />
<property name="username" value="root" />
<property name="password" value="123456" />
<property name="password" value="NUDTpdl@" />
<property name="validationQuery" value="SELECT 1" />
<property name="testOnBorrow" value="true"/>
</bean>
@ -41,7 +41,7 @@
<property name="url"
value="jdbc:mysql://172.16.128.31:3306/ossean_production?characterEncoding=UTF-8&amp;zeroDateTimeBehavior=convertToNull&amp;autoReconnect=true" />
<property name="username" value="root" />
<property name="password" value="123456" />
<property name="password" value="NUDTpdl@" />
<property name="validationQuery" value="SELECT 1" />
<property name="testOnBorrow" value="true"/>
</bean>