-
Notifications
You must be signed in to change notification settings - Fork 411
Open
Description
mysql8启动和sql会报错,解决了一部分,说一下问题
针对版本,
pom文件需要修改
mysql
mysql-connector-java
8.0.8-dmr
<plugin>
<groupId>org.mybatis.generator</groupId>
<artifactId>mybatis-generator-maven-plugin</artifactId>
<version>1.3.2</version>
<configuration>
<configurationFile>${basedir}/src/main/resources/generatorConfig.xml</configurationFile>
<overwrite>true</overwrite>
<verbose>true</verbose>
</configuration>
<dependencies>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.8-dmr</version>
</dependency>
yml连接池信息修改
driver-class-name : com.mysql.cj.jdbc.Driver
url : jdbc:mysql://localhost:3306/geekcattle?characterEncoding=utf-8&useSSL=false&serverTimezone=GMT
type: com.alibaba.druid.pool.DruidDataSource
针对sql
账户密码正确登录会报错,推测admin可能为保留字段
数据库命名不是很规范
Metadata
Metadata
Assignees
Labels
No labels
