
数据库
haorenlin5945
程序猿晋级之旅
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Jpa相关
使用@Query 使用jpa时,如果要手写sql可以使用@Query注解,使用原生sql时参数nativeQuery要置为true。 注入参数的方式 方式一:使用? @Query("select * from block where height > ?2 order by height desc limit ?1", nativeQuery = true) fun ...原创 2019-11-12 17:40:34 · 234 阅读 · 0 评论 -
Mysql模糊查询区分大小写
使用like查询发现不能区分大小写 解决方法 问题出现在COLLATE的设置上,将排序规则设置为*utf8mb4_bin*即可解决问题  COLLATE介绍 详情参考: COLLATE ...原创 2019-11-06 16:40:01 · 479 阅读 · 0 评论 -
Mysql8可视化工具(navicat)连接失败 caching_sha2_password
使用可视化工具链接mysql 8 报错: ERROR 2059 (HY000): Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/local/Percona-Server-5.5.35-rel33.0-611.Linux.x86_64/lib/mysql/plugin/caching_sha2_passwo...转载 2019-03-25 14:56:25 · 742 阅读 · 0 评论