すぐ忘れる脳の為に、よくやる MySQL 設定メモ。
configure オプション
./configure \ --prefix=/usr/local/mysql-5.1.35 \ --with-unix-socket-path=/usr/local/mysql-5.1.35/tmp/mysql.sock \ --with-charset=utf8 \ --with-extra-charsets=all \ --enable-thread-safe-client \ --with-plugins=ndbcluster, innobase, partition \ --with-readline \ --with-debug=full
with-readline = 日本語入力など。
with-debug = デバッグしたいときなど。
my.cnf
max_connections=300 connect_timeout=86400 interactive_timeout=86400 debug=d:t:o,/usr/local/mysql-5.1.35/tmp/mysqld.trace
max_connections = 接続受付数
connect_timeout = 接続タイムアウトまでの秒数
interactive_timeout = 接続先から何も要求がない状態タイムアウトまでの秒数
debug = デバッグトレースなど。






