[mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock user=mysql # Disabling symbolic-links is recommended to prevent assorted security risks symbolic-links=0 character-set-server = utf8 skip-name-resolve skip-innodb default-storage-engine=MyISAM interactive_timeout = 50 join_buffer = 1M key_buffer = 250M max_connections = 100 max_heap_table_size = 32M myisam_sort_buffer_size = 96M query_cache_limit = 4M query_cache_size = 250M query_prealloc_size = 65K query_alloc_block_size = 128K read_buffer_size = 1M read_rnd_buffer_size = 768K sort_buffer_size = 1M table_cache = 4096 thread_cache_size = 1024 tmp_table_size = 32M wait_timeout = 500 [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid [mysql] default-character-set = utf8 [isamchk] key_buffer = 64M sort_buffer = 64M read_buffer = 16M write_buffer = 16M [myisamchk] key_buffer = 64M sort_buffer = 64M read_buffer = 16M write_buffer = 16M
2012年12月24日月曜日
VPS 2GB用のmy.cnf
お名前.com VPSの2GBプラン用のmy.cnfファイルです。
登録:
コメントの投稿 (Atom)
0 件のコメント:
コメントを投稿