中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

Linux下mysql安裝出錯的原因

發布時間:2021-08-19 22:02:43 來源:億速云 閱讀:148 作者:chen 欄目:數據庫

本篇內容介紹了“Linux下mysql安裝出錯的原因”的有關知識,在實際案例的操作過程中,不少人都會遇到這樣的困境,接下來就讓小編帶領大家學習一下如何處理這些情況吧!希望大家仔細閱讀,能夠學有所成!

1.down 錯版本MySQL-server-community-5.0.67-0.rhel5.x86_64.rpm,安裝報錯

2.安裝新down下的版本

rpm -Uvh MySQL-server-community-5.0.67-0.rhel5.i386.rpm

錯誤如下:

error: Failed dependencies:

MySQL conflicts with mysql-5.0.22-2.1.0.1.x86_64

MySQL conflicts with mysql-5.0.22-2.1.0.1.i386

MySQL-server conflicts with mysql-server-5.0.22-2.1.0.1.x86_64

與先前安裝的版本沖突

3.查看先前安裝的mysql

rpm -q mysql

mysql-5.0.22-2.1.0.1

mysql-5.0.22-2.1.0.1

4.刪除

rpm -e --nodeps mysql-5.0.22-2.1.0.1

錯誤如下:error: "mysql-5.0.22-2.1.0.1" specifies multiple packages

有多個重名的包

5.全部刪除

rpm -e --allmatches mysql-5.0.22-2.1.0.1

錯誤如下:

error: Failed dependencies:

libmysqlclient.so.15()(64bit) is needed by (installed) perl-DBD-MySQL-3.0007-1.fc6.x86_64

libmysqlclient.so.15()(64bit) is needed by (installed) mysql-server-5.0.22-2.1.0.1.x86_64

libmysqlclient.so.15()(64bit) is needed by (installed) libdbi-dbd-mysql-0.8.1a-1.2.2.x86_64

libmysqlclient.so.15()(64bit) is needed by (installed) dovecot-1.0-1.2.rc15.el5.x86_64

libmysqlclient.so.15()(64bit) is needed by (installed) mysql-connector-odbc-3.51.12-2.2.x86_64

libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by (installed) perl-DBD-MySQL-3.0007-1.fc6.x86_64

libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by (installed) mysql-server-5.0.22-2.1.0.1.x86_64

libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by (installed) libdbi-dbd-mysql-0.8.1a-1.2.2.x86_64

libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by (installed) dovecot-1.0-1.2.rc15.el5.x86_64

libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by (installed) mysql-connector-odbc-3.51.12-2.2.x86_64

libmysqlclient_r.so.15()(64bit) is needed by (installed) mysql-server-5.0.22-2.1.0.1.x86_64

libmysqlclient_r.so.15()(64bit) is needed by (installed) MySQL-python-1.2.1-1.x86_64

libmysqlclient_r.so.15()(64bit) is needed by (installed) mysql-connector-odbc-3.51.12-2.2.x86_64

libmysqlclient_r.so.15(libmysqlclient_15)(64bit) is needed by (installed) mysql-server-5.0.22-2.1.0.1.x86_64

libmysqlclient_r.so.15(libmysqlclient_15)(64bit) is needed by (installed) MySQL-python-1.2.1-1.x86_64

libmysqlclient_r.so.15(libmysqlclient_15)(64bit) is needed by (installed) mysql-connector-odbc-3.51.12-2.2.x86_64

mysql = 5.0.22-2.1.0.1 is needed by (installed) mysql-server-5.0.22-2.1.0.1.x86_64

mysql is needed by (installed) MySQL-python-1.2.1-1.x86_64

mysql is needed by (installed) libdbi-dbd-mysql-0.8.1a-1.2.2.x86_64

6.解決

rpm -e perl-DBD-MySQL-3.0007-1.fc6.x86_64

……

相關文件逐個刪除,之后運行rpm -e --allmatches mysql-5.0.22-2.1.0.1

成功

7.安裝新down下的版本

rpm -Uvh MySQL-server-community-5.0.67-0.rhel5.i386.rpm

成功

“Linux下mysql安裝出錯的原因”的內容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業相關的知識可以關注億速云網站,小編將為大家輸出更多高質量的實用文章!

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

博乐市| 田东县| 兰坪| 太原市| 玉龙| 商洛市| 宁陕县| 嘉禾县| 北票市| 甘孜县| 阿拉善盟| 昭觉县| 宁城县| 呼图壁县| 社旗县| 平凉市| 抚松县| 固始县| 丰都县| 波密县| 中超| 锦州市| 遂川县| 冷水江市| 广汉市| 江达县| 平江县| 高州市| 宝山区| 承德县| 彰化县| 昂仁县| 衡阳县| 朔州市| 泸水县| 肥西县| 门头沟区| 威远县| 晋中市| 武夷山市| 隆德县|