`
waveeee
  • 浏览: 50680 次
  • 来自: 上海
社区版块
存档分类
最新评论

mysql freebsd my.cnf 设置

 
阅读更多

 

my.cnf on FreeBSD 7

Uncategorized — @ Monday, May 26, 2008

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.cnfmy-medium.cnfmy-large.cnfmy-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/

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics