1.create a database name test in your mysql database
2.alter main/resources/application.properties
- change spring.datasource.username=your_username spring.datasource.password=your_password
3.open your mysql
please input : use test //to open your test database
4.open main/java/springboot.login/databaseTestcreat
- execute
createTestData()
to generate test data for debug
5.thanks!