提交 92a3a716 编写于 作者: 冯文议

SQL:不存在数据库时,创建

上级 ebc1a72b
......@@ -5,18 +5,18 @@
Source Server Type : MySQL
Source Server Version : 80011
Source Host : localhost:3306
Source Schema : mybatis-plus
Source Schema : mybatis-plus-example
Target Server Type : MySQL
Target Server Version : 80011
File Encoding : 65001
Date: 01/09/2018 15:49:34
@author Wenyi Feng
Date: 08/27/2018 11:05:34
@author Erwin Feng
*/
CREATE DATABASE `mybatis-plus` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
USE `mybatis-plus`;
CREATE DATABASE if not exists `mybatis-plus-example` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
USE `mybatis-plus-example`;
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
......@@ -77,7 +77,7 @@ CREATE TABLE `t_student` (
-- ----------------------------
-- Records of t_student
-- ----------------------------
INSERT INTO `t_student` VALUES (1035788325322752001, '1', 1, '1', 0, '2018-09-01 15:15:55', '2018-09-01 15:15:55', 1, 1035788325276614657, 1035788325201117185);
INSERT INTO `t_student` VALUES (1035789714459471874, '冯文议', 26, '无畏造英雄', 0, '2018-09-01 15:21:26', '2018-09-01 15:21:26', 1, 1035789714388168706, 1035762001753501698);
INSERT INTO `t_student` VALUES (1035788325322752001, '张三', 20, '千里之行,始于足下', 0, '2018-09-01 15:15:55', '2019-08-27 11:08:55', 1, 1035788325276614657, 1035788325201117185);
INSERT INTO `t_student` VALUES (1035789714459471874, '李四', 18, '不积跬步,无以至千里', 0, '2018-09-01 15:21:26', '2019-08-27 11:08:55', 1, 1035789714388168706, 1035762001753501698);
SET FOREIGN_KEY_CHECKS = 1;
2019-08-27 11:13:37.612 [main] INFO c.f.m.MybatisPlusExampleApplication - Starting MybatisPlusExampleApplication on localhost with PID 6347 (/Users/wenyifeng/Workspaces/demo-projects/MyBatis-Plus-Example/target/classes started by wenyifeng in /Users/wenyifeng/Workspaces/demo-projects/MyBatis-Plus-Example)
2019-08-27 11:13:37.615 [main] INFO c.f.m.MybatisPlusExampleApplication - The following profiles are active: dev
2019-08-27 11:13:38.628 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$9853fe61] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-08-27 11:13:38.880 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8080 (http)
2019-08-27 11:13:38.896 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
2019-08-27 11:13:38.907 [main] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2019-08-27 11:13:38.907 [main] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.22]
2019-08-27 11:13:38.997 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2019-08-27 11:13:38.997 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 1317 ms
2019-08-27 11:13:39.676 [main] INFO s.d.s.w.PropertySourcedRequestMappingHandlerMapping - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity<springfox.documentation.spring.web.json.Json> springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)]
2019-08-27 11:13:39.782 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService 'applicationTaskExecutor'
2019-08-27 11:13:39.959 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - Context refreshed
2019-08-27 11:13:39.977 [main] INFO s.d.s.web.plugins.DocumentationPluginsBootstrapper - Found 1 custom documentation plugin(s)
2019-08-27 11:13:40.001 [main] INFO s.d.spring.web.scanners.ApiListingReferenceScanner - Scanning for api listing references
2019-08-27 11:13:40.125 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8080"]
2019-08-27 11:13:40.145 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port(s): 8080 (http) with context path ''
2019-08-27 11:13:40.150 [main] INFO c.f.m.MybatisPlusExampleApplication - Started MybatisPlusExampleApplication in 3.553 seconds (JVM running for 4.154)
2019-08-27 11:13:47.017 [http-nio-8080-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
2019-08-27 11:13:47.018 [http-nio-8080-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - Initializing Servlet 'dispatcherServlet'
2019-08-27 11:13:47.025 [http-nio-8080-exec-1] INFO org.springframework.web.servlet.DispatcherServlet - Completed initialization in 7 ms
2019-08-27 11:14:02.002 [http-nio-8080-exec-9] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
2019-08-27 11:14:02.299 [http-nio-8080-exec-9] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
2019-08-27 11:15:30.306 [Thread-2] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Shutting down ExecutorService 'applicationTaskExecutor'
2019-08-27 11:15:30.309 [Thread-2] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown initiated...
2019-08-27 11:15:30.330 [Thread-2] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown completed.
2019-08-27 11:14:02.005 [http-nio-8080-exec-9] WARN com.zaxxer.hikari.util.DriverDataSource - Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册