首先参考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://haiouc.iteye.com/blog/1779771
从这个台湾的源下载源码包比较快:
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
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号