# mybatis_springboot **Repository Path**: JarryShu/mybatis_springboot ## Basic Information - **Project Name**: mybatis_springboot - **Description**: Mybatis+SpringBoot的demo - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-05-01 - **Last Updated**: 2024-06-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Getting Started ### Reference Documentation For further reference, please consider the following sections: * [Official Apache Maven documentation](https://maven.apache.org/guides/index.html) * [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.6.13/maven-plugin/reference/html/) * [Create an OCI image](https://docs.spring.io/spring-boot/docs/2.6.13/maven-plugin/reference/html/#build-image) * [Spring Boot DevTools](https://docs.spring.io/spring-boot/docs/2.6.13/reference/htmlsingle/#using.devtools) * [Spring Web](https://docs.spring.io/spring-boot/docs/2.6.13/reference/htmlsingle/#web) * [MyBatis Framework](https://mybatis.org/spring-boot-starter/mybatis-spring-boot-autoconfigure/) ### Guides The following guides illustrate how to use some features concretely: * [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/) * [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/) * [Building REST services with Spring](https://spring.io/guides/tutorials/rest/) * [Accessing data with MySQL](https://spring.io/guides/gs/accessing-data-mysql/) * [MyBatis Quick Start](https://github.com/mybatis/spring-boot-starter/wiki/Quick-Start) ## 修改配置 按照自己的数据库配置做对应修改,特别是**用户名**和**密码** ```yaml spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver password: 201844 url: jdbc:mysql://127.0.0.1:3306/train username: root ``` ## 数据准备 执行文件 database.sql 中的sql,确保所有表已经建好,所有数据都已经导入。 > 做完上述步骤,就可以执行项目了