![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MySQL
b_eethoven
这个作者很懒,什么都没留下…
展开
-
LEFT JOIN条件放ON和WHERE后的区别
条件直接放ON后面,是先筛选后连接,条件放WHERE后面,是先连接后筛选,原创 2020-09-02 19:50:28 · 153 阅读 · 0 评论 -
create connection SQLException, url: null, errorCode 0, state 08001
配置多数据源时报错:create connection SQLException, url: null, errorCode 0, state 08001环境:springBoot:2.0.5+durid:1.19极有可能是这个错误:https://blog.csdn.net/sinat_33957978/article/details/89981877我的就是配置错误:错误配置:spring.datasource.first.jdbc-url正确配置:spring.datasource.firs原创 2020-05-14 17:12:41 · 12001 阅读 · 1 评论 -
数据库忘记密码解决办法环境win7MySQL-5.7.23
一 找到数据库my.ini文件,添加skip-grant-tables,设置无密码登录二、重启数据库(net stop mysql net start mysql),登录(MySQL -uroot -p -P3360 -hlocalhost),查看本地所有数据库(show databases),选择一个数据库(use mysql),执行update user set authenti...原创 2019-07-09 14:36:05 · 355 阅读 · 0 评论 -
Navicat Premium10、12导出记录时字段与值不匹配
我想要导出的是姓名、年龄、性别,但是结果却是id、姓名、年龄原创 2019-07-19 10:21:49 · 634 阅读 · 1 评论 -
神坑group_count长度限制
解决办法一(重启数据库后失效):SET GLOBAL group_concat_max_len=102400; SET SESSION group_concat_max_len=102400; 解决办法二(重启服务器后生效):配置文件添加group_concat_max_len = 102400; ~...原创 2019-08-14 14:50:27 · 693 阅读 · 0 评论