zoukankan      html  css  js  c++  java
  • Starting MySQL.The server quit without updating PID file (xxxx.pid).[FAILED]

      mysql无法正常启动,查看日志报如下异常

    2016-07-07T01:06:32.929615Z 0 [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
    2016-07-07T01:06:32.929924Z 0 [ERROR] Aborting
    2016-07-07T01:06:32.929970Z 0 [Note] Binlog end
    2016-07-07T01:06:32.930860Z 0 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

      用命令行启动mysql报:

    [root@CB-62876 mysqldata]# sudo service mysqld restart
    MySQL server PID file could not be found![FAILED]
    Starting MySQL..The server quit without updating PID file (/data/mysqldata//CB-62876.pid).[FAILED]

      用root用户启动,报:

    mysqld: Can't create/write to file '/tmp/ib6Wq7Cs' (Errcode: 30 - Read-only file system)

      各种权限、启动方式都试过了,仍然如此。后来重启后边解决了。目前还不知道具体什么原因引起的。初步猜测有可能是由于selinux或者备份导致的异常,先记录于此,以便后续跟进。

  • 相关阅读:
    实现 (5).add(3).minus(2) 功能
    vue兄弟组件传值的三种方法
    Web渗透测试思路整理
    PHP代码审计基础
    简单易用,用Powershell劫持Windows系统快捷键
    javascript脚本混淆
    秒杀系统架构优化思路
    什么是OOP
    一分钟了解负载均衡的一切
    MVC
  • 原文地址:https://www.cnblogs.com/rwxwsblog/p/5649110.html
Copyright © 2011-2022 走看看