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

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

MySQL的版本是:mysql-5.5.48-linux2.6-x86_64.tar.gz

centos6.6上安裝MySQL時出現的錯誤:


[[email protected] mysql]# ./support-files/mysql.server start

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

解決辦法:

進入到MySQL的安裝目錄,找到scripts資料夾,進入該資料夾執行如下的命令

[[email protected] scripts]# ./mysql_install_db --user=mysql --basedir=/usr/local/mysql  --datadir=/usr/local/mysql/data


然後再重新啟動MySQL服務即可

參考文獻:

https://blog.csdn.net/zalion/article/details/9274263

https://blog.csdn.net/u010860214/article/details/49448003

http://blog.itpub.net/30485601/viewspace-2151188/

相關推薦

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

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

啟動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啟動時報錯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提示The server quit without updating PID file /usr/local/mysql/data/localhost.localdomain.pid

The server quit without updating PID file (/usr/local/mysql/var/xxx.pid). ... failed錯誤解決 錯誤資訊詳細描述: [email protected]:~# service mysql start

mysql提示The server quit without updating PID file /usr/local/mysql/data/localhost.localdomain.pid

The server quit without updating PID file (/usr/local/mysql/var/xxx.pid). ... failed錯誤解決 錯誤資訊詳細描述:

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

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

macOS The server quit without updating PID file (/usr/local/var/mysql/XXX.local.pid)

狀況 ➜ ~ sudo /usr/local/Cellar/mysql/5.7.15/support-files/mysql.server restart

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

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

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