时间:2021-07-01 10:21:17 帮助过:21人阅读
1、删除centos系统自带的mariadb数据库防止发生冲突
rpm -qa |grep mariadb rpm -e mariadb-libs --nodeps
2、安装文件准备
# 下载mysql-5.7.25 wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.25-linux-glibc2.12-x86_64.tar.gz # 下载boost-1.59.0 wget https://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz
3、安装相关依赖
yum -y install gcc gcc-devel gcc-c++ gcc-c++-devel autoconf* automake* zlib* libxml*ncurses-devel ncurses libgcrypt* libtool* cmake openssl openssl-devel bisonbison-devel perl-Data-Dumper boost boost-doc boost-devel
1
Centos7编译安装MySQL5.7.25
标签:安装文件 libxml gre pre mysql5.7 col mys grep project