Skip to content
This repository has been archived by the owner on Dec 25, 2019. It is now read-only.

Commit

Permalink
完善
Browse files Browse the repository at this point in the history
  • Loading branch information
crossoverJie committed Jan 5, 2017
1 parent b1e56cc commit 4f31613
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 3 deletions.
37 changes: 37 additions & 0 deletions src/doc/sql/ssm2.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*
Navicat Premium Data Transfer
Source Server : localhost
Source Server Type : MySQL
Source Server Version : 50716
Source Host : localhost
Source Database : ssm2
Target Server Type : MySQL
Target Server Version : 50716
File Encoding : utf-8
Date: 01/05/2017 22:28:08 PM
*/

SET NAMES utf8;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for `datasource`
-- ----------------------------
DROP TABLE IF EXISTS `datasource`;
CREATE TABLE `datasource` (
`id` int(50) NOT NULL AUTO_INCREMENT,
`name` varchar(1000) DEFAULT NULL COMMENT '聊天内容',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of `datasource`
-- ----------------------------
BEGIN;
INSERT INTO `datasource` VALUES ('2', '<p>9090<br/></p>'), ('7', 'hah'), ('9', '<p>说的是都是<br/></p>'), ('10', '哈哈你说的是呢<br/>'), ('11', '<p>你说什么呢<br/></p>'), ('12', '<p>你好啊<img src=\"http://img.baidu.com/hi/jx2/j_0026.gif\"/><br/></p>'), ('13', '<p>nihao啊</p>'), ('14', '说的'), ('15', '哈哈哈哈<br/>'), ('16', '你在干甚呢<br/>'), ('17', '<p>搞好久</p>'), ('18', '<p>8989<br/></p>'), ('19', '9899'), ('20', '家哈哈哈'), ('21', '<p>说的是<br/></p>'), ('22', '<p>哈哈</p>'), ('23', '<p>你说什么<br/></p>'), ('24', '909'), ('25', '<p>你好<br/></p>'), ('26', '你在干嘛呢<br/>'), ('27', '<p>积极</p>'), ('28', '7878');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
6 changes: 3 additions & 3 deletions src/main/resources/jdbc.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ jdbc.driverClass=com.mysql.jdbc.Driver
#第一个数据源
jdbc.url=jdbc:mysql://127.0.0.1:3306/ssm?useUnicode=true&characterEncoding=utf8
jdbc.user=root
jdbc.password=tiger
jdbc.password=xxxx

#第二个数据源
jdbc.url2=jdbc:mysql://127.0.0.1:3306/ssm2?useUnicode=true&characterEncoding=utf8
jdbc.user2=root
jdbc.password2=tiger
jdbc.password2=xxxx

#redis中心
redis.host=27.126.180.210
redis.port=6379
redis.password=tiger
redis.password=xxxx
redis.maxIdle=100
redis.maxActive=300
redis.maxWait=10000
Expand Down

0 comments on commit 4f31613

Please sign in to comment.