java.sql.SQLException: Unknown system variable ‘query_cache_size‘
程序员文章站
2024-03-21 18:48:58
...
报错:java.sql.SQLException: Unknown system variable 'query_cache_size'
问题解决办法:
修改本地mvn配置与数据库版本一致:
修改数据库配置文件:
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/vueblog?useUnicode=true&useSSL=false&characterEncoding=utf8&serverTimezone=Asia/Shanghai
username: root
password: 123456789
运行
上一篇: 安装RVM 博客分类: Ruby & Rails RubyRVM
下一篇: java.sql.SQLException: Unknown system variable ’tx_isolation‘
推荐阅读
-
java.sql.SQLException: Unknown system variable ’tx_isolation‘
-
MySQL——Caused by: java.sql.SQLException: Unknown system variable ‘transaction_isolation‘
-
java.sql.SQLException: Unknown system variable ‘query_cache_size‘
-
JDBC 连接 MySQL 报错 Unknown system variable ‘query_cache_size‘
-
Mysql5.7修改用户密码,报错“Unknown trigger has an error in its body: ‘Unknown system variable ‘maintain_user”
-
django.db.utils.OperationalError: (1193, "Unknown system variable 'storage_engine'")
-
django.db.utils.OperationalError: (1193, "Unknown system variable 'storage_engine'")
-
django.db.utils.OperationalError: (1193, "Unknown system variable 'storage_engine'")
-
django.db.utils.OperationalError: (1193, "Unknown system variable 'storage_engine'")解决办法
-
【error】django.db.utils.OperationalError: (1193, "Unknown system variable 'storage_engine'")