1. 程式人生 > >Centos6 下 Mysql啟動提示 Starting MySQL. ERROR! The server quit without updating PID file

Centos6 下 Mysql啟動提示 Starting MySQL. ERROR! The server quit without updating PID file

環境說明

Centos6.5  mysql  5.5.37

問題描述

檢視mysql服務,提示mysql沒有啟動,手動啟動後,提示如下:
[[email protected] ~]# /etc/init.d/mysql start
Starting MySQL. ERROR! The server quit without updating PID file (/usr/local/mysql/var/LNMP.pid).

檢視錯誤日誌
[email protected] var]# tail -f /usr/local/mysql/var/LNMP.err 
/usr/local/mysql/bin/mysqld: Can't create/write to file '/tmp/ibJb9vcs' (Errcode: 13)
161201  8:45:41  InnoDB: Error: unable to create temporary file; errno: 13
161201  8:45:41 [ERROR] Plugin 'InnoDB' init function returned error.
161201  8:45:41 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
161201  8:45:41 [ERROR] Unknown/unsupported storage engine: InnoDB
161201  8:45:41 [ERROR] Aborting

161201  8:45:41 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

161201 08:45:41 mysqld_safe mysqld from pid file /usr/local/mysql/var/LNMP.pid ended
錯誤日誌提示13錯誤,innodb不能建立臨時檔案

解決辦法

給臨時檔案加777許可權
[email protected] var]# chmod 777 /tmp

再次啟動mysql,mysql正常啟動!
[[email protected] var]# /etc/init.d/mysql restart
 ERROR! MySQL server PID file could not be found!
Starting MySQL.. SUCCESS! 
[[email protected] var]# ps -ef | grep mysql
root      5305     1  0 08:49 pts/0    00:00:00 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local/mysql/var --pid-file=/usr/local/mysql/var/LNMP.pid
mysql     5690  5305  1 08:49 pts/0    00:00:00 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --plugin-dir=/usr/local/mysql/lib/plugin --user=mysql --log-error=/usr/local/mysql/var/LNMP.err --pid-file=/usr/local/mysql/var/LNMP.pid --socket=/tmp/mysql.sock --port=3306
root      5712  1969  0 08:49 pts/0    00:00:00 grep mysql


相關推薦

Centos6 Mysql啟動提示 Starting MySQL. ERROR! The server quit without updating PID file

環境說明 Centos6.5  mysql  5.5.37 問題描述 檢視mysql服務,提示mysql沒有啟動,手動啟動後,提示如下: [[email protected] ~]#

mysql啟動時報錯:Starting MySQL... ERROR! The server quit without updating PID file (/opt/mysql/data/mysql.pid)

.com quit blog erro selinux 打開 archive out com mysql啟動報錯Starting MySQL... ERROR! The server quit without updating PID file (/opt/mysql/da

啟動mysql出錯Starting MySQL. ERROR! The server quit without updating PID file (/var/lib/mysql/spark01.pi

參考檔案的連結地址:http://icesquare.com/wordpress/mysql-starting-mysql-error-the-server-quit-without-updating-pid-file/

Centos7啟動mysql5.6 提示ERROR! The server quit without updating PID file (/var/lib/mysql/XXX.pid).

Centos7安裝安裝MySQL-server-5.6.35-1.el7.x86_64.rpm,提示安裝失敗,因為Centos7安裝時預設安裝mariadb-libs.XXXXXX.rpm, 需要解除

mysql啟動報錯:Starting MySQL... ERROR! The server quit without updating PID file

mysql啟動時報錯:Starting MySQL... ERROR! The server quit without updating PID file (/opt/mysql/data/mysql.pid) 的解決方法:1、可能是/opt/mysql/data/資料目錄m

mysql啟動時報錯:Starting MySQL... ERROR! The server quit without updating PID file ?

報錯資訊如下:MySQL server PID file could not be found!                  [FAILED]Starting MySQL.../usr/local/mysql/bin/mysqld_safe: line 181:  24

mysql啟動時報錯:Starting MySQL... ERROR! The server quit without updating PID file (/opt/mysql/data/mysql.pid) 的解決方法

#tail -f /data/mysql/logs/error.log 160721 06:12:07 mysqld_safe Starting mysqld daemon with databases from /data/mysql/data 2016-07-21 06:12:10 0 [Warni

啟動mysql報錯 -- ERROR! The server quit without updating PID file

bash cal down tar bsp 二進制 pda you log-bin 開發說某個測試環境的mysql,無法重啟了,報以下錯誤提示: # service mysqld restart Shutting down MySQL.. SUCCESS! Starti

Starting MySQL... ERROR! The server quit without updating PID file (/usr/local/mysql/data/VM_0_6_centos.pid)

剛接觸MySql資料庫,參考一些文章後搭建起來了也建立了資料庫,程式跑到很好,一覺醒來突然連線不上了 MySql資料庫了。 研究了好一會才找到原因。 現象: 登入資料庫失敗 [[email protected]_0_6_centos ~]# mysql -u root -p******War

Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/data/vm10-0-0-19

 輸入:service mysqld start  報錯:  Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/data/vm10-0-0-19

mysql啟動報錯... ERROR! The server quit without updating PID file (/usr/local/mysql/data/test.pid

公司的伺服器突然斷電了,恢復後重啟mysql報錯如下 Starting MySQL... ERROR! The server quit without updating PID file (/usr/local/mysql/data/test.pid)      &

MySQL: Starting MySQL….. ERROR! The server quit without updating PID file解決辦法

1、問題: [[email protected] data]# /etc/init.d/mysql start Starting MySQL...The server quit without updating PID file (/db/mysql/data/i

MySql錯誤:Starting MySQL...ERROR!The server quit without updating PID file

mysql初始化成功之後,然後配置了些引數,然後啟動mysql服務,結果又報錯了 照樣開始百度,網上還是一堆麻煩的方法,檢視日誌,許可權是對的,因為我這裡使用的是mysql使用者和mysql使用者組。還有一個是把本地伺服器的***.pid檔案拷貝到/usr/local/mysql/data

Starting MySQL. ERROR! The server quit without updating PID file......

This step-by-step guide is mainly for FreeBSD, however the idea is the same for Linux. Every once a while, when I update my FreeBSD box, the system likes

mysql啟動ERROR! The server quit without updating PID file (/usr/local/mysql/data/gujingdeMacBook-Pro

啟動mysql時,出現如下錯誤: ERROR! The server quit without updating PID file (/usr/local/mysql/data/gujingdeMacBook-Pro.local.pid). 可能的解決方式:

在Centos上安裝MySQL時出現這樣的錯誤:Starting MySQL.. ERROR! The server quit without updating PID file (/usr/loca

MySQL的版本是:mysql-5.5.48-linux2.6-x86_64.tar.gzcentos6.6上安裝MySQL時出現的錯誤:[[email protected] mysql]# ./support-files/mysql.server startSta

fedora20 Starting MySQL. ERROR! The server quit without updating PID file /var/lib/mysql/Master.Hado

今天嘗試在fedora20下安裝了下mysql, 檢視/var/lib/mysql/Master.Hadoop.err日誌發現報瞭如下的錯於是找到這篇文章,才得以解決。 Table 'mysql.plugin' doesn't exist。 但是很不幸的是,安裝過程中出

Starting MySQL... ERROR! The server quit without updating PID file 問題解決

其中 丟失 一行 也有 index erro 報錯 估計 不清楚 今天遇到一個mysql起不來,不知為啥掛了,啟動是下面的報錯 Starting MySQL... ERROR! The server quit without updating PID file 後來進到/u

報錯:ERROR! The server quit without updating PID file (/usr/local/var/mysql/chenyuntekiMacBook-Air.local.pid).

在Mac上通過brew install mysql 安裝了完mysql 執行mysql.server start 報錯:ERROR! The server quit without updating PID file (/usr/local/var/mysql/chenyuntekiMacBook-Air

Mac安裝mysql後無法啟動,錯誤提示The server quit without updating PID file

現象: 1 sudo /usr/local/mysql/support-files/mysql.server start  提示 The server quit without updating PID file  2 點選 系統偏好設定裡的  mysql 沒有看到正常的