dpkg: error processing mysql-server-5.5 (--configure):
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
Package mysql-server-5.5 is not configured yet.
dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
mysql-server-5.5
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
解決方法:
刪除mysql前 先刪除一下 /var/lib/mysql 還有 /etc/mysql
sudo rm /var/lib/mysql/ -R
sudo rm /etc/mysql/ -R
sudo apt-get autoremove mysql* --purge
sudo apt-get remove apparmor
sudo apt-get install mysql-server mysql-common
相關推薦
dpkg: error processing mysql-server-5.5 (--configure):
start: Job failed to start invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing mysql-server-5.5 (--configure): subprocess in
ubuntu安裝mysql報錯:dpkg: error processing package mysql-server (--configure)
ubuntu安裝mysql過程中電腦突然關機,重新安裝一直報錯: Renaming removed key_buffer and myisam-recover options (if present) Job for mysql.service failed because
解決mysql刪除出現Errors were encountered while processing: mysql-server-5.6的問題
今天解除安裝mysql的時候發現死活解除安裝不了,總是報標題所示的錯誤,正好最近學習shell,就用bash把mysql所有的檔案都刪除掉,之後再解除安裝就成功了。 首先 sudo service m
dpkg: error processing package bluez (--configure) 解決方法【轉】
operation proc addition too opera report add message ace 轉自:http://blog.csdn.net/heray1990/article/details/47803541 在 Ubuntu 執行 sudo apt
dpkg: error processing package XXX (--configure)
今天在裝torch依賴包的時候,出現了下面類似的error: dpkg: error processing package nvidia-410 (--configure): dpkg: error processing package nvidia-410-dev (--conf
ThinkPHP出現General error: 2006 MySQL server has gone away的解決方法
數據 -- nbsp 時間 err post 一段 分析 class 錯誤: #13 {main}SQLSTATE[HY000]: General error: 2006 MySQL server has gone awayFILE: \ThinkPHP\Library\
php 指令碼連接出現General error: 2006 MySQL server has gone away錯誤原因排查
今天在公司測試環境中和其他部門專案聯調,等了好長時間也沒有發現我負責專案資料傳遞過去,看日誌發現出現: exception:HY000:SQLSTATE[HY000]: General error: 2006 MySQL server has gone awa
MySQL 5.7.20安裝完成初始化報錯[ERROR] failed to set datadir to C:\Program Files\MySQL\MySQL Server 5.7\data\
1.net start mysql 提示服務名無效,百度查到需要初始化MySQL: mysqld -initialize ,結果報錯: 更換命令: mysqld --initialize --user=mysql --console ,mysqld -instal
Error: Package: mysql-community-server-5.6.41-2.el7.x86_64 (mysql56-community) Requires:
http://www.cnblogs.com/xiaoluo501395377/archive/2013/04/07/3003278.html MySQL登陸失敗:ERROR 2002 (HY000): Can't connect to local MySQL
處理軟體包 mysql-server-5.7 (--configure)時出錯
開啟MySQL報錯: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' 在網上找了各種
Password expiration policy in MySQL Server 5.7
mysql5.7原理http://www.tuicool.com/articles/N7fuea 批量腳本mysql -uroot -p‘xx‘ -e "select user,host from mysql.user;">/root/user.txt sed -i ‘1d‘ user.txt #sed
warning: MySQL-server-5.5.48-1.linux2.6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: N
warning: MySQL-server-5.5.48-1.linux2.6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY CentOS安裝rpm安裝MySQL時爆出警告: 原因:這是由於yum安裝了舊版本
file /usr/share/mysql/czech/errmsg.sys from install of MySQL-server-5.6.22-1.el6.i686 conflicts wit
MySQL安裝失敗,因為包衝突 解決: 把所有衝突的包都解除安裝了 yum -y remove mysql-libs-5.1.71* 錯誤如下 mysql-libs-5.1.71…和要安裝的MySQL包有衝突 Transaction Check Error: file
mysql 5.5升級5.6報錯:ERROR 1193 (HY000) at line 84: Unknown system variable 'have_csv'
首先登陸資料庫沒有問題呀,但是有報錯, 文字顯示: ERROR 1193 (HY000) at line 84: Unknown system variable 'have_csv' ERROR 1064 (42000) at line 86: You have an error in yo
mysql 5.5使用xtrabackup 恢復遇到錯誤Failed to connect to MySQL server to detect version. You must set xtraba
報錯 81114 15:44:21 innobackupex: Connecting to MySQL server with DSN 'dbi:mysql:;mysql_read_default_file=/etc/my.cnf;mysql_read_default_group=x
Centos 7 官網下載安裝mysql server 5.6
Centos 7 官網下載安裝 mysql server # wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm # rpm -ivh mysql-community-release-el7-5.no
【MySQL】1:The action 'Install' for product 'MySQL Server 5.7.20' failed.報錯
首先安裝Mysql可以參考這篇博文 然後就是說一下上面說的那個錯誤。 今天安裝mysql服務時,出現了一個錯誤, The action ‘Install’ for product ‘MySQL Server 5.7.19’ failed. 我試了好多
win7下安裝解壓版MySQL(版本:5.7.21) 完全解決MySQL錯誤2003:Can’t connect to MySQL server (10060)
step1:下載 我安裝的日期是2018年3月2日,版本為5.7.21,我的電腦是win7 64位,根據自己的系統選擇相應版本,點選Download,如圖所示: 然後跳到下面這個介面,注意此時不需要註冊也不需要登入,直接點選紅色部分: 最好選擇非系統
安裝MySQL報錯:The action ‘Install’ for product ‘MySQL Server 5.7.19’ failed.
今天安裝mysql服務時,出現了一個錯誤, The action ‘Install’ for product ‘MySQL Server 5.7.19’ failed. 如圖所示 嘗試著把檔案解除安裝,重新安裝是沒有用的,最後找到一個這樣的解決辦法: 32位的V