![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql8.0
我俗人
世界从不完美,时间不会给你2次机会。
展开
-
MySQL报错:MySQL Illegal mix of collations for operation 'like'
今天在对一个时间字段进行模糊查询的时候出现以下问题: //提示非法组合 MySQL Illegal mix of collations for operation 'like' 问题原因: 在 MySQL 5.5 以上, 若字段类型 Type 是 time,date,datetime ,在 select时如果使用 like ‘%中文%’ 会出现 Illegal mix of co...转载 2019-02-27 16:47:48 · 277 阅读 · 0 评论 -
mysql8.0.1 springboot mybatis报错1055
今天mybatis执行SQL语句等后面都会报一个错误: [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILING.SEQ' which is not functionally depe...原创 2019-02-26 21:49:26 · 555 阅读 · 0 评论 -
SQLNonTransientConnectionException: Public Key Retrieval is not allowed
问题原因mysql是8.0 springboot里面写的是com.mysql.jdbc.Driver com.mysql.cj.jdbc.Driver 连接数据库的url中,加上allowPublicKeyRetrieval=true原创 2019-03-03 14:07:48 · 4789 阅读 · 2 评论