sharding-jdbc小例子(2)springboot+mybatis+druid+mysql集成
1)创建数据库、表create database db1;CREATE TABLE `user_info` ( `user_id` bigint(20) NOT NULL COMMENT '用户编号', `age` int(4) NOT NULL COMMENT '年龄', `user_name` varchar(50) DEFAULT NULL COMMENT '用户名称', PRIMARY KEY (`user_id`)) ENGINE=InnoDB DEFAULT CHARSET