/dog_catch_1_duck.svg

张理坤的博客

编译安装mysql5.7

安装编译依赖 Ubuntu和Debian CentOS和Fedora sudo apt-get install -y build-essential cmake libaio-dev libncurses5-dev pkg-config sudo yum -y install zlib-devel openssl-devel libaio-devel ncurses-devel cmake gcc-c++ 编译 设置安装路径 export INSTALL_DIR="/usr/local/mysql" export DATA_DIR="/data/mysql" 准备工作 wget https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-boost-5.7.38.tar.gz tar