1. 程式人生 > >Linux下刪除解除安裝系統自帶的MySQL資料庫

Linux下刪除解除安裝系統自帶的MySQL資料庫

[[email protected]_rec mysql]$ sudo yum -y remove mysql-5.0.45-7.el5
Password:
Loading "security" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package mysql.x86_64 0:5.0.45-7.el5 set to be erased
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: dovecot
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: mysql-server
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: mysql-connector-odbc
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: perl-DBD-MySQL
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: libdbi-dbd-mysql
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: dovecot
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: mysql-server
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: mysql-connector-odbc
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: perl-DBD-MySQL
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: libdbi-dbd-mysql
--> Processing Dependency: libmysqlclient_r.so.15()(64bit) for package: mysql-connector-odbc
--> Processing Dependency: libmysqlclient_r.so.15()(64bit) for package: mysql-server
--> Processing Dependency: libmysqlclient_r.so.15()(64bit) for package: MySQL-python
--> Processing Dependency: libmysqlclient_r.so.15(libmysqlclient_15)(64bit) for package: mysql-connector-odbc
--> Processing Dependency: libmysqlclient_r.so.15(libmysqlclient_15)(64bit) for package: mysql-server
--> Processing Dependency: libmysqlclient_r.so.15(libmysqlclient_15)(64bit) for package: MySQL-python
--> Processing Dependency: mysql for package: libdbi-dbd-mysql
--> Processing Dependency: mysql = 5.0.45-7.el5 for package: mysql-server
--> Processing Dependency: mysql for package: MySQL-python
---> Package mysql.i386 0:5.0.45-7.el5 set to be erased
--> Running transaction check
---> Package mysql-server.x86_64 0:5.0.45-7.el5 set to be erased
---> Package MySQL-python.x86_64 0:1.2.1-1 set to be erased
---> Package libdbi-dbd-mysql.x86_64 0:0.8.1a-1.2.2 set to be erased
---> Package perl-DBD-MySQL.x86_64 0:3.0007-1.fc6 set to be erased
---> Package mysql-connector-odbc.x86_64 0:3.51.12-2.2 set to be erased
---> Package dovecot.x86_64 0:1.0.7-2.el5 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Removing:
 mysql                   x86_64     5.0.45-7.el5     installed         7.5 M
 mysql                   i386       5.0.45-7.el5     installed         7.3 M
Removing for dependencies:
 MySQL-python            x86_64     1.2.1-1          installed         288 k
 dovecot                 x86_64     1.0.7-2.el5      installed         3.7 M
 libdbi-dbd-mysql        x86_64     0.8.1a-1.2.2     installed          55 k
 mysql-connector-odbc    x86_64     3.51.12-2.2      installed         420 k
 mysql-server            x86_64     5.0.45-7.el5     installed          22 M
 perl-DBD-MySQL          x86_64     3.0007-1.fc6     installed         328 k

Transaction Summary
=============================================================================
Install      0 Package(s)        
Update       0 Package(s)        
Remove       8 Package(s)        

Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing   : mysql-server                 ######################### [1/8]
warning: /var/log/mysqld.log saved as /var/log/mysqld.log.rpmsave
  Erasing   : MySQL-python                 ######################### [2/8]
  Erasing   : mysql                        ######################### [3/8]
  Erasing   : libdbi-dbd-mysql             ######################### [4/8]
  Erasing   : perl-DBD-MySQL               ######################### [5/8]
  Erasing   : mysql-connector-odbc         ######################### [6/8]
  Erasing   : dovecot                      ######################### [7/8]
  Erasing   : mysql                        ######################### [8/8]

Removed: mysql.x86_64 0:5.0.45-7.el5 mysql.i386 0:5.0.45-7.el5
Dependency Removed: MySQL-python.x86_64 0:1.2.1-1 dovecot.x86_64 0:1.0.7-2.el5 libdbi-dbd-mysql.x86_64 0:0.8.1a-1.2.2 mysql-connector-odbc.x86_64 0:3.51.12-2.2 mysql-server.x86_64 0:5.0.45-7.el5 perl-DBD-MySQL.x86_64 0:3.0007-1.fc6
Complete!

相關推薦

Linux刪除解除安裝系統MySQL資料庫

[[email protected]_rec mysql]$ sudo yum -y remove mysql-5.0.45-7.el5 Password: Loading "security" plugin Loading "rhnplugin" plugin This system is no

黑猴子的家:解除安裝Linux系統MySql資料庫

1、關閉mysql服務 [[email protected] ~]# systemctl status mysql [[email protected] ~]# systemctl stop mysql 尖叫提示:解除安裝用root使用者

1 複習ha相關 + weekend110的hive的元資料庫mysql方式安裝配置(完全正確配法)(CentOS版本)(包含解除安裝系統MySQL

本博文的主要內容是:   .複習HA相關   .MySQL資料庫   .先在MySQL資料庫中建立hive資料庫   .hive的配置 以下是Apache Hadoop HA的總結。分為hdfs HA和yarn HA。      以上,是參考《

linux6.7解除安裝系統mysql-libs* crontab命令不能用了原因?

安裝大資料平臺cdh5時候,需要安裝mysql: 通常我們安裝mysql時候,會去解除安裝對應的linux自帶的,不然會包和已有的mysql包衝突! 於是網上找解除安裝linux系統自帶的mysql的方法: yum -y removemysql-libs-*  或者 rp

linux怎麼解除安裝的JDK和安裝想要的JDK

解除安裝 1、解除安裝用 bin檔案安裝的JDK方法: 刪除/usr/java目錄下的所有東西 2、解除安裝系統自帶的jdk版本方法: 檢視自帶的jdk: #rpm -qa | grep gcj 看到如下資訊: libgcj-4.1.2-44.el5 java

Linux 徹底解除安裝Mysql

1、使用以下命令檢視當前安裝mysql情況,查詢以前是否裝有mysql 1 rpm -qa|

Linux乾淨解除安裝mysql

1、使用以下命令檢視當前安裝mysql情況 rpm -qa|grep -i mysql 顯示之前安裝了: [[email protected] ~]$ rpm -qa|grep -i mysql perl-DBD-MySQL-4.013-3.el6.x86_64 My

LinuxRabbitMQ的安裝 開機啟動

term 缺省 south entos 分享圖片 block bit plugin tps 1.官網下載地址 下載 RabbitMQ 和 erlang。我下載的是rabbitmq-server-3.6.10-1.el7.noarch.rpm和erlang-19.0.4-

Linux徹底解除安裝MySQL

一、使用以下命令檢視當前安裝mysql情況,查詢以前是否裝有mysql rpm -qa|grep -i mysql 可以看到如下圖的所示: 顯示之前安裝了: MySQL-client-5.5.25a-1.rhel5 MySQL-server-5.5.25a-1.rhel5

linux openoffice 解除安裝

工作的時候發現生產上openOffice掛掉了,找不到原因,於是打算解除安裝重新安裝。 百度了很久找到一個笨方一個個的鞋子rpm包可以參考以下網址: http://blog.csdn.net/catoop/article/details/20921905,費盡九牛二虎之力終於解除安裝搞定了,五六

Linux強制解除安裝安裝的php!

      原先在centOS6.6上已經安裝好了Lamp環境,因為php5.3版本比較低,就使用了remi源升級到5.5,然後問題就來了:專案中使用的php-xml在centOS下找不到yum安裝包

linux完全解除安裝oracle

停止oracle資料庫服務 1.切換到oracle使用者下執行sqlplus / as sysdba命令進入SQL命令列 2. 然後再執行 shutdown immediate; 3. 退出SQL命令列 [[email protec

linux JDK解除安裝安裝

解除安裝:java -versionjavajavac判斷jdk是否安裝(顯示版本號等資訊,說明已經安裝)which java(檢視JDK的安裝路徑) rm -rf JDK地址(解除安裝JDK)  rm -rf /usr/java/jdk/jdk1.8.0_172/java

PowerShell命令列,解除安裝WIN10應用

首先WIN+X,然後選擇Windows PowerShell(管理員),之後要解除安裝什麼就直接複製命令然後回車即可 OneNote:Get-AppxPackage *OneNote* | Remove-AppxPackage 3D:Get-AppxPackage *

win10安裝系統應用

以管理員身份啟動系統自帶的Windows Powershell元件,接著輸入Get-AppxPackage -allusers | Select Name, PackageFullName,通過該命令

Liunx RedHat安裝系統YUM步驟

最近配置了伺服器需要安裝軟體方法有幾種。   1.下載軟體包 ,編譯安裝 (。/configure,make,make install)這樣安裝配置性更高。相信高手都是這樣安裝的。   2.yum安裝。這樣安裝起來比較簡單。(yum install 軟體包名稱) 主要

解除安裝centos的httpd伺服器

rpm -qa|grep httpd     httpd-2.2.15-29.el6.centos.x86_64     httpd-tools-2.2.15-29.el6.centos.x86_64

刪除CentOS6.5系統的jdk

首先檢視JDK的版本,java -version 解除安裝步驟如下: [[email protected] ~]# rpm -qa|grep jdk java-1.6.0-openjdk-1

Linux的Nginx安裝(開機啟動)

1.在安裝Nginx前,需要確保系統安裝了g++,gcc, openssl-devel、pcre-devel和zlib-devel軟體。安裝必須軟體: [java] view plain copy  print? yum  -y install zlib zlib-devel openss

Linux徹底解除安裝mysql詳解

一、使用以下命令檢視當前安裝mysql情況,查詢以前是否裝有mysql 1 rpm -qa|grep -i mysql 可以看到如下圖的所示: 顯示之前安裝了:      MySQL-client-5.5.25a-1.rhel5