标签:
(1)下载,解压
(2)初始化数据库
./scripts/mysql_install_db --defaults-file=../my.cnf --user=guofeng
(3)启动命令
./bin/mysqld --defaults-file=/home/guofeng/local/mysql2/my.cnf --skip-grant-table &
最后登录mysql的命令是
./bin/mysql --defaults-file=../my.cnf -h 127.0.0.1 --port=3555 -u root -p
./bin/mysql -h 127.0.0.1 --port=3555 -u root -p 任然有问题
[2]中后面的root用户登录设置方面可以试一下
[1]http://www.martijn-onderwater.nl/2010/11/23/installing-mysql-on-linux-without-root-privileges/
[2] http://blog.csdn.net/lmm2003/article/details/6915920
install mysql using binary and configure manu
标签:
原文地址:http://www.cnblogs.com/lightblueme/p/4678857.html