5.7版本前的mysql运行: update user set password=password(“你的密码”) where user=“用户”;
.5.7版本后的mysql运行:update mysql.user set authentication_string=password(‘你的密码’) where user=‘用户’;
5.7版本前的mysql运行: update user set password=password(“你的密码”) where user=“用户”;
.5.7版本后的mysql运行:update mysql.user set authentication_string=password(‘你的密码’) where user=‘用户’;
引入依賴 <dependency> <groupId>com.itextpdf</groupId> <artifactId>itextpdf</artifactId>