日常使用mysql数据库遇到的一些问题,做下记录,会持续更新. 一.MySql Host is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' 解决方法 环境:linux,mysql5.6 错误:Host is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' 原因: 同一…
1. 问题:mysql启动报错(linux) [root@localhost ~]# service mysqld restart Another MySQL daemon already running with the same unix socket. Starting mysqld: [FAILED] 解决方法: [root@localhost ~] mv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.bak [root@loca…
Mysql常见的几个错误问题及解决方法: 1.问题: mysql DNS反解:skip-name-resolve 错误日志有类似警告: 点击(此处)折叠或打开 120119 16:26:04 [Warning] IP address '192.168.1.10' could not be resolved: Name or service not known 120119 16:26:04 [Warning] IP address '192.168.1.14' could not be reso…
作为linux运维,多多少少会碰见这样那样的问题或故障,用点心,平时多注意积累,水平肯定越来越高. 下面就是常见问题解决集锦: 1.shell脚本不执行 问题:某天研发某同事找我说帮他看看他写的shell脚本,死活不执行,报错.我看了下,脚本很简单,也没有常规性的错误,报“: bad interpreter: No such file or directory”错.一 看这错,我就问他是不是在windows下编写的脚本,然后在上传到linux服务器的……果然. 原因:在DOS/Window…