MySQL 通用二进制安装(generic binary installation )

Installation steps
-> useradd mysql
->cd /tmp;tar-xzf mysql-VERSION-OS.tar.gz-C/usr/local
->cd/usr/local;mv mysql-VERSION-OS mysql
->chown-R root.root mysql
->mkdir-p/data/db/mysql/3306
->chown mysql.mysql/data/db/mysql/3306
->cd /usr/local/mysql
->scripts/mysql_install_db\
-defaults-file/data/db/mysql3306/my.cnf --user=mysql
->bin/mysqld_safe--defaults-file=/data/db/mysql3306/my.cnf\
--user=mysql&
->export MYSQL_UNIX_PORT=/data/db/mysql/3306/mysql.sock
->bin/mysql_secure_installation

MySQL 通用二进制安装(generic binary installation ),布布扣,bubuko.com

MySQL 通用二进制安装(generic binary installation )

上一篇:Oracle中生成随机数的函数(转载)


下一篇:SQL中两种表复制语句