好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

从源码安装mysql

首先参考iteye上的一篇博文: http://haiouc.iteye.com/blog/1779771 从这个台湾的源下载源码包比较快: http://ftp.nchu.edu.tw/Unix/Database/MySQL/Downloads/MySQL-5.1/ 其中编译前的配置命令: ./configure --prefix=/usr/local/mysql --with-charset=g

首先参考iteye上的一篇博文:

从这个台湾的源下载源码包比较快:

http://ftp.nchu.edu.tw/Unix/Database/MySQL/Downloads/MySQL-5.1/

其中编译前的配置命令:

./configure --prefix=/usr/local/mysql --with-charset=gbk --with-extral-charsets=all --enable-thread-safe-client

中的extra误打成了extral。


另外参考官方的资料:

http://dev.mysql.com/doc/refman/5.1/zh/installing.html#linux-rpm

见第2.8.1节(源码安装概述)和2.8.2节(典型配置选项)


安装完之后开启mysql服务:

systemctl enable mysqld.service

systemctl start mysqld.service

查看更多关于从源码安装mysql的详细内容...

  阅读:43次