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

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,

需要解除安裝mariadb-libs.XXXXXX.rpm,才能安裝,解除安裝mariadb-libs.XXXXXX.rpm

使用rpm -qa|grep -i mariadb-libs 搜尋

然後rpm -e mariadb-libs-XXXXXX.x86_64 --nodeps進行強制解除安裝。

mysql安裝需要的rpm包:

MySQL-client-5.6.35-1.el7.x86_64.rpm

MySQL-server-5.6.35-1.el7.x86_64.rpm

安裝完畢後,通過 service mysql start 命令進行啟動,mysql暫時不支援systemctl(centos7啟動服務的命令),如果啟動提示

[[email protected] etc]# service mysql start
Starting MySQL........ ERROR! The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid).

※※出現上述錯誤的原因說明Centos7系統中預設安裝了一些有關mysql和mariadb的檔案,此時在rpm安裝的mysql預設的初始化資料庫

路徑下是沒有建立performance_schema資料夾的(mysql初始化資料庫時會建立mysql、performance_schema、test三個資料夾的)。

解決辦法

安裝上述兩個rpm安裝包時,需要先將Centos7系統中的有關mysql和mariadb的檔案進行刪除

find / -name mysql

find / -name mariadb

查詢將所有有關資料進行刪除刪除,解除安裝安裝的mysql兩個rpm包,重新安裝即可。


相關推薦

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, 需要解除

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

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

啟動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

MySQL啟動報:[ERROR] The server quit without updating

mysql 啟動報錯 逗哥自動化 [root@localhost mysql]# service mysql restart Starting MySQL...[ERROR] The server quit without updating PID file (/usr/local/mysql

啟動mysql報錯:ERROR! The server quit without updating

mysql啟動mysql報錯:ERROR! The server quit without updating PID file (/data/mysql/localhost.localdomain.pid),查看mysql.log發現報錯信息:[ERROR] Fatal error: Can‘t open a

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啟動報錯... 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 (/var/lib/mysql/spark01.pi

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

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). 可能的解決方式:

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

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

報錯: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

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: 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

在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。 但是很不幸的是,安裝過程中出