posts - 244,  comments - 25,  trackbacks - 0
http://dev.mysql.com/doc/refman/5.6/en/binary-installation.html

http://www.cnblogs.com/rond/p/3709164.html



mysql-5.6.30-linux-glibc2.5-x86_64.tar.gz


Debug versions of the mysqld binary are available as mysqld-debug. To compile your own debug version of MySQL from a source distribution, use the appropriate configuration options to enable debugging support. See Section 2.9, “Installing MySQL from Source”.

To install and use a MySQL binary distribution, the command sequence looks like this:

shell> groupadd mysql
shell> useradd -r -g mysql -s /bin/false mysql
shell> cd /usr/local
shell> tar zxvf /path/to/mysql-VERSION-OS.tar.gz
shell> ln -s full-path-to-mysql-VERSION-OS mysql
shell> cd mysql shell> chown -R mysql .
shell> chgrp -R mysql .
shell> scripts/mysql_install_db --user=mysql
shell> chown -R root .
shell> chown -R mysql data
shell> bin/mysqld_safe --user=mysql & # Next command is optional
shell> cp support-files/mysql.server /etc/init.d/mysql.server
mysql -u  root -p
无密码直接回车
posted on 2016-11-11 21:35 林的 阅读(78) 评论(0)  编辑  收藏 所属分类: mysql

只有注册用户登录后才能发表评论。


网站导航:
 
<2016年11月>
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

想回家了,呵呵!

常用链接

留言簿(6)

随笔分类

随笔档案

文章分类

文章档案

相册

收藏夹

搜索

  •  

最新评论

阅读排行榜

评论排行榜