mysql - linux下的二进制安装
linux下的二进制安装
2004-04-23 15:18 pm来自:Linux文档
现载:Www.8s8s.coM
地址:无名
以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 &