首页 > 数据库技术 > 详细

install mysql using binary and configure manu

时间:2015-07-26 23:55:15      阅读:259      评论:0      收藏:0      [点我收藏+]

(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

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