Installation

download mysql-5.7.13-linux-glibc2.5-x86_64.tar form official site.

tar -xf mysql-5.7.13-linux-glibc2.5-x86_64.tar
tar -xvf mysql-5.7.13-linux-glibc2.5-x86_64.tar.gz
mkdir -p /opt/mysql/data
cp -r mysql-5.7.13-linux-glibc2.5-x86_64 /usr/local/
cd /usr/local/
ln -s /usr/local/mysql-5.7.13-linux-glibc2.5-x86_64/ mysql
cd mysql
chown -R mysql .
chgrp -R mysql .
mkdir -p /opt/mysql/data
chown -R mysql /opt/mysql
chgrp -R mysql /opt/mysql
chown -R mysql /opt/mysql/data/
chgrp -R mysql /opt/mysql/data/
mkdir -p /opt/mysql/share
chgrp -R mysql /opt/mysql/share/
chown -R mysql /opt/mysql/share/
bin/mysqld --initialize --user=mysql --basedir=/opt/mysql/ --datadir=/opt/mysql/data/

Another war:http://dev.mysql.com/doc/refman/5.7/en/installing-development-tree.html

git clone https://github.com/mysql/mysql-server.git
cd mysql-server
cmake .  -DDOWNLOAD_BOOST=1 -DWITH_BOOST=/usr/include/boost
make

results matching ""

    No results matching ""