Home > Database > Mysql Tutorial > Linux源码安装mysql 5.5.13 (cmake编译)

Linux源码安装mysql 5.5.13 (cmake编译)

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 15:02:52
Original
1089 people have browsed it

1.安装make编译器 下载地址: http://www.gnu.org/software/make/ tar zxvf make-3.82.tar.gzcd make-3.82./configuremakemake install 2.安装bison 下载地址:http://www.gnu.org/software/bison/ tar zxvf bison-2.5.tar.gzcd bison-2.5./configuremakemak

1.安装make编译器

下载地址: http://www.gnu.org/software/make/

2.安装bison

下载地址:http://www.gnu.org/software/bison/

3.安装gcc-c++

下载地址:http://www.gnu.org/software/gcc/


4.安装cmake

下载地址:http://www.cmake.org/

5.安装ncurses

下载地址:http://www.gnu.org/software/ncurses/

 

开始安装MySQL,下载地址:http://dev.mysql.com/

准备工作

解压并安装MySQL

完成后,继续下面的操作

下面的命令是可选的,将mysql的配置文件拷贝到/etc

启动mysql:

上面是一种启动mysql的方法,还有一种简单的方便,如下:

将mysql服务添加到开机启动项,让mysql服务开机启动

重启机器后,mysql服务就会自动启动了。

Related labels:
Statement of this Website
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
Latest Issues
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template