Home  >  Article  >  php教程  >  linux 环境下安装mysql5.6,linuxmysql5.6

linux 环境下安装mysql5.6,linuxmysql5.6

WBOY
WBOYOriginal
2016-06-13 08:48:08954browse

linux 环境下安装mysql5.6,linuxmysql5.6

在网上找了很多博客 看着头晕眼花 各个步骤 最终功夫不负有心人 终于安装好了 特此整理分享一下

 

1> #yum remove mysql mysql-*    //卸载原先版本的mysql

2>#yum install -y wget      //如果没有下载wget

3># wget http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm                    //下载5.6的依赖源配置repo rpm文件

4>#rpm -ivh mysql-community-release-el6-5.noarch.rpm    //安装repo rpm包

5>#yum install mysql-server   mysql-community-devel    //安装mysql-server

6>#/etc/init.d/mysqld start   //启动mysql-serve

7># mysql -uroot -p //进入mysql

完成  !  如果有什么错误或者遇到什么问题 希望大家评论 一块讨论

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn