首页 > 数据库技术 > 详细

MySQL for Linux(source installation )

时间:2014-08-01 13:54:12      阅读:383      评论:0      收藏:0      [点我收藏+]

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 )

原文:http://guyang.blog.51cto.com/9122948/1533629

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!