随笔分类 - mysql
摘要:在执行mysqldump命令备份数据库时报错:Warning: Using a password on the command line interface can be insecure. 解决方法:修改mysql配置文件vim /etc/my.cnf 或mysql安装包所在的位置中的my.cnf
阅读全文
摘要:从错误信息 “Can't start server : Bind on unix socket: Address already in use” 以及 “Do you already have another mysqld server running on socket: /tmp/mysql.s
阅读全文
摘要:使用命令修改%为通配符,可以允许主机ip192.168.172.7**访问,如果最后不是1开始就不用执行这步操作 use mysql; select host from user where user='root';修改权限 UPDATE user set host='%' where user='
阅读全文
摘要:一、ORDER BY含义:order by 排序字段,order by默认采用升序(asc),如果存在 where 子句,那么 order by 必须放到 where 询句后面。 select ename,job,sal from emp where job = ‘MANAGER’order by
阅读全文
摘要:Error 1140: In aggregated query without GROUP BY,sql_mode=only_full_group_by MySQL 5.5.27上跑没有问题,在MySQL 5.7.24上就报了sql_mode=only_full_group_by的错误:Error
阅读全文

浙公网安备 33010602011771号