linux下的二进制安装
日期:2007-05-07 荐:
以root身份登录
1.#adduser 新建一个用户mysql,组mysql
2.把下载的mysql-XXX.tar.gz拷贝到 /usr/local/下
3.# cd /usr/local/
# gunzip < mysql-XXX.tar.gz | tar xvf-
# ln -s mysql-XXX mysql
# cd mysql
# scripts/mysql_install_db
# chown -R root /usr/local/mysql
# chown -R mysql /usr/local/mysql/data
# chgrp -R mysql /usr/local/mysql
# chown -R root /usr/local/mysql/bin
# bin/safe_mysqld --user=mysql &
标签: