[MySQL]在FreeBSD下的config設定

有關資料庫的討論, 都可以在這發表哦~~
回覆文章
頭像
tim
文章: 1380
註冊時間: 2008年 11月 26日, 00:49

[MySQL]在FreeBSD下的config設定

文章 tim »

網址: http://www.surlyjake.com/2008/09/freebs ... iguration/


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/mysq/mysql-large.cnf /etc/my.cnf
/usr/local/etc/rc.d/mysql-server restart
thanks to http://www.barik.net/archive/2008/05/26/114616/ for the tip.
多多留言, 整理文章, 把經驗累積下來.....
回覆文章