码迷,mamicode.com
首页 > 数据库 > 详细

centOS 6.5下升级mysql,从5.1升级到5.6

时间:2018-05-21 14:36:22      阅读:219      评论:0      收藏:0      [点我收藏+]

标签:centos 6   arc   htm   grep   root   www.   lease   comm   database   

转载:https://www.cnblogs.com/vickygu2007/p/5066409.html

#mysqldump -uroot -p --all-databases > databases.sql

#service mysqld stop

#yum remove mysql mysql-*

#rpm -qa ¦ grep mysql

#yum remove mysql mysql-server mysql-libs compat-mysql51

#yum list installed | grep mysql

#yum remove mysql-libs

#rpm -Uvh http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm

#yum install mysql-community-server

#mysql -V

#service mysqld start

centOS 6.5下升级mysql,从5.1升级到5.6

标签:centos 6   arc   htm   grep   root   www.   lease   comm   database   

原文地址:https://www.cnblogs.com/coffee_cn/p/9066665.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!