Mysql啟報錯報The server quit without updating PID file
Starting MySQL.. ERROR! The server quit without updating PID file (/data/mysql/26765574162f.pid).
查看報錯日誌:
[ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
解決辦法:
1.編輯配置文件:
vim /etc/my.cnf
basedir = /usr/local/mysql datadir = /data/mysql socket = /tmp/mysql.sock log-error = /data/mysql/error.log pid-file = /data/mysql/mysql.pid user = mysql tmpdir = /tmp
2.重新初始化mysql:
./mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/data/mysql --pid-file=/data/mysql/mysql.pid --tmpdir=/tmp
然後再啟動就會成功了:
Mysql啟報錯報The server quit without updating PID file
相關推薦
啟動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 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 啟動報錯:The server quit without updating PID file (/usr/local/mysql/data/ubuntu.pid)
這個錯誤算是比較粗心時範的,忘切換使用者了,就是hadoop使用者沒有執行mysql的許可權,如下: [email protected]:/usr/local/mysql$ support-files/mysql.server start Starting MyS
解決報錯:The server quit without updating PID file
MySQL 報錯 The 今天晚上要做一個開啟MySQL bin-log日誌的變更。在關閉數據庫後,修改參數文件,在mysqld下加上(一定要在mysqld下加上),即可開啟mysql的binlog日誌[mysqld]log-bin=mysql-bin修改完參數後啟動數據庫,數據庫無法啟動,報一下
Mysql啟報錯報The server quit without updating PID file
oca use log pre user ado 1.5 tle 分享 mysql 安裝時候安裝後啟動不成功報錯:Starting MySQL.. ERROR! The server quit without updating PID file (/data/mysql/2
報錯: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
mysql報錯 MySQL server PID file could not be found The server quit without updating PID file (/var/l
執行mysql重啟命令突然報錯: 後面的/var/lib/mysql/192.168.1.139.pid給了我們提示 我們進入/var/lib/mysql資料夾 發現了一個好東西 192.168.1.139.err(不用想錯誤資訊肯定在這裡面) 檢視日
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啟動報錯 The server quit without updating PID file (/[FAILED]ql/cc.pid).
環境centos6.5 mysql版本是5.5.10 開啟mysql服務 /etc/init.d/mysqld start 報錯如下:Starting MySQL.The server quit without updating PID file (/[FAILED]ql
The server quit without updating PID file 報錯
art launch quit not date some -s install clean mysql.server start 報錯:The server quit without updating PID file (/usr/local/var/mysql/zhan
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
開發反饋環境中資料庫掛了,程式無法連線:進系統檢視資料庫沒啟動,關了;先重啟 [[email protected] ~]# service mysql restart MySQL server PID file could not be found! &nb
使用xtrabackup恢復重啟出錯Starting MySQL..The server quit without updating PID file ([FAILED]tion/mysql/data
剛開始學習使用xtrabackp的恢復,在啟動的時候報錯 /etc/init.d/mysqld start Starting MySQL..The server quit without updating PID file ([FAILED]tion/mysql/data/localhost
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提示:The server quit without updating PID file問題的解決辦法
刪除 沒有 關閉 file title 錯誤日誌 可能 service 重新啟動 轉 http://www.jb51.net/article/48625.htm 今天網站web頁面提交內容到數據庫,發現出錯了,一直提交不了,數找了下原因,發現數據寫不進去!第一反應,重啟my
Starting MySQL....The server quit without updating PID file[失敗]/lib/mysql/ip12189.pid). 錯誤一例
bold title lan char .net 失敗 etc nbsp 啟動會 [[email protected]/* */ etc]# service mysqld startStarting MySQL....The server quit withou
mysql Starting MySQL..The server quit without updating PID file
ati mod grep disabled 不存在 upd entos 開啟 targe 可能的原因和解決辦法 1.可能是/usr/local/mysql/data/rekfan.pid文件沒有寫的權限解決方法 :給予權限,執行 chown -R mysql:mysql
mysql-Starting MySQL..The server quit without updating PID file (/[FAILED]ql/mysql/pid)
報警 短信報警 touch stop MF 網站 back comm 問題 淩晨1點,日常刷刷手機中,郵箱短信報警了,瞄了一眼,磁盤什麽什麽的,沒在意,每天幾十封郵件,麻木了。早上7點,還沒醒,老大給我打電話,網站502了,一個激靈起來登陸網站,發現502了 查看進程,發現
解決mysql:The server quit without updating PID file
根目錄 ima ali 用戶 ctrl+ user 服務 section src 一、卸載原來的mysql出現這種錯誤極有可能是上一個mysql的殘留文件沒有刪除,在/etc目錄下查找有沒有my.cnf文件,如果有刪除它 rm -rf my.cnf。再去/usr/local