my.cnf on FreeBSD 7
FreeBSD does not automatically include a default my.cnf for MySQL. Instead, a set of sample configuration files can be found under /usr/local/share/mysql. These configuration files include my-small.cnf, my-medium.cnf, my-large.cnf, my-innodb-heavy-4G, and my-huge.cnf. The appropriate file can be copied and used as a template configuration by performing the following actions:
cd /usr/local/share/mysql/
cp /usr/local/share/mysql/mysql-large.cnf /usr/local/etc/my.cnf
/usr/local/etc/rc.d/mysql-server restart
http://www.barik.net/archive/2008/05/26/114616/

本文详细介绍了在 FreeBSD 操作系统中配置 MySQL 的过程,包括如何从默认配置文件夹中复制并使用适当的配置文件来启动 MySQL 服务。
618

被折叠的 条评论
为什么被折叠?



