crucible-4.8.2更改mysql5.7数据库报错User ‘crucible‘ has exceeded the ‘max_questions‘ resource

Posted 玩电脑的辣条哥

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了crucible-4.8.2更改mysql5.7数据库报错User ‘crucible‘ has exceeded the ‘max_questions‘ resource相关的知识,希望对你有一定的参考价值。

环景:

windows server2019
crucible-4.8.2
jdk1.8
mysql5.7
mysql-connector-java-5.1.31-bin

问题描述:

crucible-4.8.2更改为mysql5.7数据库jdbc连接报错:
错误1:
Unable to connect to MySQL database jdbc:mysql://localhost:3306/crucible: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: User ‘crucible’ has exceeded the ‘max_questions’ resource (current value: 5) Couldn’t connect to the database


错误2:
解决错误1出现这个

解决方案:

错误1:Navicat 连接数据库,更改最大查询、连接数,默认0

以上是关于crucible-4.8.2更改mysql5.7数据库报错User ‘crucible‘ has exceeded the ‘max_questions‘ resource的主要内容,如果未能解决你的问题,请参考以下文章

linux下mysql5.7 更改密码记录

mysql5.7在线更改innodb_buffer_pool_size

Mac下更改Mysql5.7的默认编码为utf8

mysql5.7社区版性能优化浅谈

MySQL5.7改密码无password字段

更改Mysql5.7的默认编码为utf8解决database为latin1无法修改问题