国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 數據庫 > MySQL > 正文

centos 6.9安裝mysql的詳細教程

2024-07-24 12:51:32
字體:
來源:轉載
供稿:網友

1、確認mysql是否已安裝,有下面的代碼可知

[root@cdh1 zjl]# yum list installed mysql*Loaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile * base: mirrors.zju.edu.cn * extras: mirrors.aliyun.com * updates: mirrors.aliyun.comInstalled PackagesMySQL-python.x86_64 1.2.3-0.3.c1.1.el6 @base mysql-libs.x86_64 5.1.73-8.el6_8 @anaconda-CentOS-201703281317.x86_64/6.9

2、卸載已安裝的mysql,建議使用yum命令,因為yum命令可以自動刪除與mysql相關的依賴;如果使用rpm命令,則還需要手動去刪除和mysql相關的文件,比較麻煩

[root@cdh1 zjl]# yum remove MySQL-python.x86_64 mysql-libs.x86_64Loaded plugins: fastestmirror, refresh-packagekit, securitySetting up Remove ProcessResolving Dependencies--> Running transaction check---> Package MySQL-python.x86_64 0:1.2.3-0.3.c1.1.el6 will be erased--> Processing Dependency: MySQL-python for package: cloudera-manager-agent-5.11.1-1.cm5111.p0.9.el6.x86_64---> Package mysql-libs.x86_64 0:5.1.73-8.el6_8 will be erased--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: 2:postfix-2.6.6-8.el6.x86_64--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: 2:postfix-2.6.6-8.el6.x86_64--> Processing Dependency: mysql-libs for package: 2:postfix-2.6.6-8.el6.x86_64--> Running transaction check---> Package cloudera-manager-agent.x86_64 0:5.11.1-1.cm5111.p0.9.el6 will be erased---> Package postfix.x86_64 2:2.6.6-8.el6 will be erased--> Processing Dependency: /usr/sbin/sendmail for package: redhat-lsb-core-4.0-7.el6.centos.x86_64--> Processing Dependency: /usr/sbin/sendmail for package: cronie-1.4.4-16.el6_8.2.x86_64--> Running transaction check---> Package cronie.x86_64 0:1.4.4-16.el6_8.2 will be erased--> Processing Dependency: cronie = 1.4.4-16.el6_8.2 for package: cronie-anacron-1.4.4-16.el6_8.2.x86_64---> Package redhat-lsb-core.x86_64 0:4.0-7.el6.centos will be erased--> Processing Dependency: redhat-lsb-core(x86-64) = 4.0 for package: redhat-lsb-printing-4.0-7.el6.centos.x86_64--> Processing Dependency: redhat-lsb-core(x86-64) = 4.0-7.el6.centos for package: redhat-lsb-4.0-7.el6.centos.x86_64--> Processing Dependency: redhat-lsb-core(x86-64) = 4.0 for package: redhat-lsb-graphics-4.0-7.el6.centos.x86_64--> Running transaction check---> Package cronie-anacron.x86_64 0:1.4.4-16.el6_8.2 will be erased---> Package redhat-lsb.x86_64 0:4.0-7.el6.centos will be erased--> Processing Dependency: redhat-lsb(x86-64) = 4.0-7.el6.centos for package: redhat-lsb-compat-4.0-7.el6.centos.x86_64---> Package redhat-lsb-graphics.x86_64 0:4.0-7.el6.centos will be erased---> Package redhat-lsb-printing.x86_64 0:4.0-7.el6.centos will be erased--> Running transaction check---> Package redhat-lsb-compat.x86_64 0:4.0-7.el6.centos will be erased--> Processing Dependency: /etc/cron.d for package: crontabs-1.10-33.el6.noarch--> Processing Dependency: /etc/cron.d for package: sysstat-9.0.4-33.el6.x86_64--> Restarting Dependency Resolution with new changes.--> Running transaction check---> Package crontabs.noarch 0:1.10-33.el6 will be erased---> Package sysstat.x86_64 0:9.0.4-33.el6 will be erased--> Finished Dependency ResolutionDependencies Resolved==================================================================== Package Arch Version Repository Size====================================================================Removing: MySQL-python x86_64 1.2.3-0.3.c1.1.el6 @base 246 k mysql-libs x86_64 5.1.73-8.el6_8 @anaconda-CentOS-201703281317.x86_64/6.9 4.0 MRemoving for dependencies: cloudera-manager-agent x86_64 5.11.1-1.cm5111.p0.9.el6 @/cloudera-manager-agent-5.11.1-1.cm5111.p0.9.el6.x86_64 71 M cronie x86_64 1.4.4-16.el6_8.2 @anaconda-CentOS-201703281317.x86_64/6.9 174 k cronie-anacron x86_64 1.4.4-16.el6_8.2 @anaconda-CentOS-201703281317.x86_64/6.9 43 k crontabs noarch 1.10-33.el6 @anaconda-CentOS-201703281317.x86_64/6.9 2.4 k postfix x86_64 2:2.6.6-8.el6 @anaconda-CentOS-201703281317.x86_64/6.9 9.7 M redhat-lsb x86_64 4.0-7.el6.centos @anaconda-CentOS-201703281317.x86_64/6.9 0.0 redhat-lsb-compat x86_64 4.0-7.el6.centos @anaconda-CentOS-201703281317.x86_64/6.9 0.0 redhat-lsb-core x86_64 4.0-7.el6.centos @anaconda-CentOS-201703281317.x86_64/6.9 22 k redhat-lsb-graphics x86_64 4.0-7.el6.centos @anaconda-CentOS-201703281317.x86_64/6.9 0.0 redhat-lsb-printing x86_64 4.0-7.el6.centos @anaconda-CentOS-201703281317.x86_64/6.9 0.0 sysstat x86_64 9.0.4-33.el6 @anaconda-CentOS-201703281317.x86_64/6.9 826 kTransaction Summary====================================================================Remove 13 Package(s)Installed size: 86 MIs this ok [y/N]: yDownloading Packages:Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning TransactionWarning: RPMDB altered outside of yum. Erasing : redhat-lsb-compat-4.0-7.el6.centos.x86_64 1/13 Erasing : redhat-lsb-4.0-7.el6.centos.x86_64 2/13 Erasing : cloudera-manager-agent-5.11.1-1.cm5111.p0.9. 3/13 warning: /etc/cloudera-scm-agent/config.ini saved as /etc/cloudera-scm-agent/config.ini.rpmsave Erasing : redhat-lsb-graphics-4.0-7.el6.centos.x86_64 4/13 Erasing : redhat-lsb-printing-4.0-7.el6.centos.x86_64 5/13 Erasing : redhat-lsb-core-4.0-7.el6.centos.x86_64 6/13 /var/tmp/rpm-tmp.jLbJUk: line 1: lsb_release: command not found Erasing : MySQL-python-1.2.3-0.3.c1.1.el6.x86_64 7/13 Erasing : sysstat-9.0.4-33.el6.x86_64 8/13 Erasing : crontabs-1.10-33.el6.noarch 9/13 Erasing : cronie-anacron-1.4.4-16.el6_8.2.x86_64 10/13 Erasing : cronie-1.4.4-16.el6_8.2.x86_64 11/13 Erasing : 2:postfix-2.6.6-8.el6.x86_64 12/13 Erasing : mysql-libs-5.1.73-8.el6_8.x86_64 13/13 Verifying : redhat-lsb-printing-4.0-7.el6.centos.x86_64 1/13 Verifying : cronie-anacron-1.4.4-16.el6_8.2.x86_64 2/13 Verifying : cronie-1.4.4-16.el6_8.2.x86_64 3/13 Verifying : 2:postfix-2.6.6-8.el6.x86_64 4/13 Verifying : redhat-lsb-4.0-7.el6.centos.x86_64 5/13 Verifying : redhat-lsb-core-4.0-7.el6.centos.x86_64 6/13 Verifying : cloudera-manager-agent-5.11.1-1.cm5111.p0.9. 7/13 Verifying : crontabs-1.10-33.el6.noarch 8/13 Verifying : redhat-lsb-compat-4.0-7.el6.centos.x86_64 9/13 Verifying : MySQL-python-1.2.3-0.3.c1.1.el6.x86_64 10/13 Verifying : redhat-lsb-graphics-4.0-7.el6.centos.x86_64 11/13 Verifying : sysstat-9.0.4-33.el6.x86_64 12/13 Verifying : mysql-libs-5.1.73-8.el6_8.x86_64 13/13 Removed: MySQL-python.x86_64 0:1.2.3-0.3.c1.1.el6 mysql-libs.x86_64 0:5.1.73-8.el6_8 Dependency Removed: cloudera-manager-agent.x86_64 0:5.11.1-1.cm5111.p0.9.el6 cronie.x86_64 0:1.4.4-16.el6_8.2 cronie-anacron.x86_64 0:1.4.4-16.el6_8.2 crontabs.noarch 0:1.10-33.el6 postfix.x86_64 2:2.6.6-8.el6 redhat-lsb.x86_64 0:4.0-7.el6.centos redhat-lsb-compat.x86_64 0:4.0-7.el6.centos redhat-lsb-core.x86_64 0:4.0-7.el6.centos redhat-lsb-graphics.x86_64 0:4.0-7.el6.centos redhat-lsb-printing.x86_64 0:4.0-7.el6.centos sysstat.x86_64 0:9.0.4-33.el6 Complete!
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 泽普县| 郓城县| 涞源县| 贵南县| 临颍县| 杭州市| 广灵县| 榆社县| 定兴县| 田阳县| 漾濞| 开原市| 宜城市| 涪陵区| 巴青县| 同仁县| 沛县| 杭锦旗| 麻阳| 永寿县| 成都市| 延吉市| 海丰县| 万山特区| 武隆县| 台江县| 河北区| 阿拉善左旗| 布尔津县| 苗栗县| 元氏县| 呼伦贝尔市| 湟源县| 藁城市| 阿荣旗| 横峰县| 左贡县| 屏南县| 交口县| 恩施市| 景宁|