按照https://blog.csdn.net/xqnode/article/details/113079010?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522167877972416800226588986%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=167877972416800226588986&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2blogfirst_rank_ecpm_v1~rank_v31_ecpm-1-113079010-null-null.blog_rank_default&utm_term=springboot&spm=1018.2226.3001.4450
一步步来试了一下mybatis-generator插件,结果最后点击ok之后,莫名其妙要输入一个账号密码,不论输入什么都是错的,提示Failed to connect to mysql database,please check username and password,or mysql is version 8?false
这个时候就要看一下你的mysql是不是版本8.x了,应该是因为这个问题,方便的查看,你可以再测试链接的时候看到有数据库信息