数据库安装后无法访问,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进程 若看到如上内容