Centos6.5 compile and install mysql 5.7.14 detailed tutorial, centos6.55.7.14
The example in this article shares with you how to install and configure mysql 5.7.14 compiled by CENTOS6.5 for your reference. The specific content is as follows:
Compile and install mysql5.7.14 in the custom file path
Download the installation package
Configure the installation environment
Compile and install
cmake\-DCMAKE_INSTALL_PREFIX=/data/db5714 \-DMYSQL_DATADIR=/data/db5714/var \-DMYSQL_UNIX_ADDR=/data/db5714/tmp/mysql.sock \-DDEFAULT_CHARSET=utf8 \-DDEFAULT_COLLATION=utf8_general_ci \-DEXTRA_CHARSETS=all \-DWITH_MYISAM_STORAGE_ENGINE=1 \-DWITH_INNOBASE_STORAGE_ENGINE=1 \-DENABLED_LOCAL_INFILE=1 \-DDOWNLOAD_BOOST=1 \-DWITH_BOOST=/tmp/mysql-5.7.14/boost/boost_1_59_0
Initialize data
cd /data/db5714/bin./mysqld --initialize --user=mysql --datadir=/data/db5714/var--basedir=/data/db5714 --socket=/data/db5714/tmp/mysql.sock--login-file=/data/db5714/log/mysql.err
Login
View err logs
Change Password
Compilation and installation are complete!
The above is how to install and configure mysql 5.7.14, and I hope it will help you learn it.