数据库安装后无法访问,mysql重启报错: 或报错:MySQL is running but PID file could not be found 解决方法: 第一种方法:看磁盘是否已满:df –h 若已满,清理下垃圾文件 第二种方法:查看数据库运行状态 /etc/init.d/mysql status 提示ERROR! MySQL is running but PID file could not be found 1.ps aux |grep mysql 查看mysql进程 若看到如上内容
1.安装 coreseek-3.2.14 遇到问题:“ERROR: cannot find MySQL include files,随即在网上搜索各种答案说是要找到mysql.h的正确路径加入./configure才行,可惜找之不到,后来在官网(http://dev.mysql.com/doc/refman/5.5/en/c.html)上找到这样一段话: NoteIf, after an upgrade, you experience problems with compiled client
准备篇: 1.配置防火墙,开启80端口.3306端口 vim /etc/sysconfig/iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT #允许80端口通过防火墙 -A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT #允许3306端口通过防火墙 备注:很多人把这两条规则添加到防火墙配置的最后一行,导致防火