【Java】application run failed Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and
springboot 启动时报这个错:application run failed
Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_general_COERCIBLE)
查看数据的编码
再用 SHOW VARIABLES LIKE ‘collation_%’; 查看一下 显示
最后依次执行一下命令
最后还是不能解决这个错,最终解决方法:
1.如果是windows版本的mysql,那么在安装的时候,系统就会提示用哪种编码。
如果安装的时候设置错误了,修改mysql安装目录下的my.ini文件:
2. 如果是linux版本的mysql
修改mysql的配置文件,使数据库与服务器操作系统的字符集设置一致。
vi /etc/my.cnf 设置(如果没有发现这个文件,就新建1个)
'
最后才解决问题,启动成功。
【Java】application run failed Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and相关推荐
- 1267 'Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_gener
这个错误是在使用django框架的时候,一次偶然间没有设置数据库的字符集为utf8,导致的问题. 还好是刚开始所以就重新创建了一下数据库指定字符集为utf8就好了
- mysql Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) fo...
错误:"Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for ...
- Error 1267 Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT
Mysql 报错: `Error 1267 Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb4_general_c ...
- Illegal mix of collations (utf8mb4_0900_ai_ci,IMPLICIT) and (utf8mb4_0900_as_ci,IMPLICIT) for operat
java.sql.SQLException: Illegal mix of collations (utf8mb4_0900_ai_ci,IMPLICIT) and (utf8mb4_0900_as_ ...
- Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '=
问题描述:MySQL进行字符串比较时发生错误: SELECT a.equ_no, b.fullCode FROM equipment a, ( SELECT t.*, getEquTypeFullCo ...
- Illegal mix of collations (utf8mb4_general_ci,IMPLICIT) and (utf8mb4_unicode_ci,IMPLICIT) for operat
1.问题 今天又在mysql中遇到了,吐血. 2.解决方案 SQL最后加上 COLLATE utf8mb4_unicode_ci SELECT t2.cust_id as cust_id_ex,t1. ...
- Illegal mix of collations (utf8mb4_0900_ai_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operat
多表关联查询报错先看报错结果 我想通过这个org_post_user_name 表和这个has 的复合表进行查询 通过这个条件关联在一起查询 where ssorg.org = has.qwe 然后 ...
- Error 1267 Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT)
@[TOC](Error 1267 Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb4_general_ci,IM ...
- Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb4_general_ci
在进行表关联查询,特别是跨库时,特别容易报这个错,原因是关联的两张表对应的排序规则不一致. 在navicate中右键表,查看对象信息 在join时,添加COLLATE属性,比如a表关联b表,a表的排序 ...
最新文章
- 使用Delphi命名空间
- 记录一次与大神们的关于GAN应用于NLP的讨论 (后续)
- 前端学习(892):bom概述
- open×××结合pam_mysql认证出错的解决方法
- 《SQL Server企业级平台管理实践》读书笔记——SQL Server如何设置自动增长和自动收缩项...
- matlab编写信号采集程序,MATLAB语音信号采集课程设计
- unity打光报错:Mesh doesnt have albedo UVs,Please creat them in your modelling package
- 机器学习之特征选择 (feature_selection)
- JavaScript 调用 Windows Win32 API
- 计算机故障基本维修方法,11种打印机常见故障维修方法
- python卸载清理注册表_使用Python操作注册表
- 云计算之于人类的价值体现在哪里?
- ae 能在linux上运行吗,玩了这么久Linux,这些使用技巧你可能还不知道!
- 读《楚汉传奇》中历史故事悟项目管理
- 【肥海豹】-网络安全等级保护(等保)-WINDOWS类服务器配置
- pycharm编写的py文件如何在linux下通过 ./ 运行,初识shebang
- 2020年系统规划与管理师上午真题及答案解析
- Kotlin “谈” “弹” “潭”
- 前端性能优化学习 08 资源加载优化
- Hyperion与Tagetik的产品使用比较
热门文章
- Pandas dtypes(数据类型)
- Pandas 矩阵运算
- list怎么取数据_MongoDB 自动过滤重复数据
- c语言输出教学日历表 节假日突出,[蓝桥杯][算法提高VIP]任意年月日历输出 (C语言代码)...
- 利用vSAN Performance Monitor可视化监控vSAN性能指标
- 云计算架构师分享:容器云在金融企业的落地方案 | 周末送资料(原题:某保险公司容器云PaaS平台建设实践经验分享)
- Linux学习总结(76)—— Shell 脚本日志技巧
- 软件工程学习总结(2)——大部分的软件工程其实就是管道作业
- Java Web学习总结(33)——Java Web 程序员如何转型大数据
- docker构建dpdk运行环境镜像