CentOS系统MySql的安装步骤
来源:互联网 发布:卡佩拉体测数据 编辑:程序博客网 时间:2024/06/04 00:28
最近尝试了一下linux系统安装mysql数据库,发现网上很多教程都是用yun安装的方式,但是尝试了一下确实比较低的版本,无法安装最新版本,比如MySql5.7,后来仔细阅读MySql官方说明,发现可以配置MySql官方yum源,然后就可以使用yum方式安装较新版本的MySql了,废话不多说,安装步骤如下:
1.配置MySql官方yum源:
去https://dev.mysql.com/downloads/repo/yum/下载对应的rpm包,比如我的系统是CentOs6.5,则下载mysql57-community-release-el6-11.noarch.rpm包,使用如下命令进行安装:
yum install mysql57-community-release-el6-11.noarch.rpm
2.yum安装MySql-Server:
使用如下命令安装MySql-server:
yum install -y mysql-community-server
至此,Mysql数据库安装完毕,启动数据库命令如下:
service mysqld start
至于其他的配置网上教程很多,在这里不再赘述。
怎么样,是不是很简单,yum安装就是方便,在此记录一下,以免以后忘记!
阅读全文
0 0
- CentOS系统MySql的安装步骤
- centos安装mysql的步骤
- CentOS 6.0 系统 MySQL安装步骤
- CentOS系统安装MySQL 5.6步骤简介
- centos+mysql安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP) 安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP) 安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP) 安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.3 系统 LAMP(Apache+MySQL+PHP) 安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- 输出一个爱心
- form is not define的原因-JavaScript
- 图像旋转以及C代码实现
- 操作系统常用调度算法
- android ndk cmake c++调用c语言函数
- CentOS系统MySql的安装步骤
- 第四章:git add , git commit 添加错文件 撤销
- Windows下Anaconda的安装和简单使用
- bzoj 3212: Pku3468 A Simple Problem with Integers
- Nicescroll滚动条插件的用法
- js-dom-使用错误记录
- IPython、Notebook、qtconsole使用教程
- 查询-AJAX-JSON
- babyos2(4)——memory ranges