MySQL for Linux(source installation )

Installation steps
->useradd mysql
->cd/tmp;tar -xzf mysql-VERSION.tar.gz
->chown-R root.root mysql-VERSION
->mkdir mybuild
->cd mybuild
->cmake-DBUILD_CONFIG=mysql_release\
           -DCMAKE_INSTALL_PREFIX=/usr/local/mysql\
          ../mysql_VERSION
->make-j&& make install
->mkdir -p /data/db/mysql/3306
->chown mysql.mysql/data/db/mysql/3306
->cd /usr/local/mysql
->scripts/mysql_install_db\
  -defalts-file=/data/db/mysql/3306/my.cnf-user=mysql
->bin/mysql_safe--defaults-file=data/db/mysql/3306/my.cnf--user=mysql&
->export MYSQL_UNIX_PORT=data/db/mysql/3306/mysql.sock
->bin/mysql_secure_installation

MySQL for Linux(source installation ),布布扣,bubuko.com

MySQL for Linux(source installation )

上一篇:sqlserver 存储过程分页管理


下一篇:【转】用sql语句创建表的时候给列指定说明(描述)