# # CommuniLink standard mySQL config with innoDB enabled (v5.1.54) # # This is for a large system with memory = 512M where the system runs mainly MySQL. # [client] port = 3306 socket = /tmp/mysql.sock [mysqld] port = 3306 socket = /export/tmp/mysql.sock skip-external-locking key_buffer_size = 512M max_allowed_packet = 32M table_open_cache = 2048 sort_buffer_size = 8M read_buffer_size = 8M read_rnd_buffer_size = 16M myisam_sort_buffer_size = 64M thread_cache_size = 16 query_cache_size= 16M # Try number of CPU's*2 for thread_concurrency thread_concurrency = 32 default-storage-engine = MyISAM explicit_defaults_for_timestamp = TRUE #innodb_force_recovery = 1 tmp_table_size = 256M max_heap_table_size = 256M max_connections = 500 #skip-networking #log-bin=mysql-bin #binlog_format=mixed server-id = 1 # Uncomment the following if you are using InnoDB tables #innodb_data_home_dir = /usr/local/mysql/var #innodb_data_file_path = ibdata1:10M:autoextend #innodb_log_group_home_dir = /usr/local/mysql/var innodb_buffer_pool_size = 512M #innodb_additional_mem_pool_size = 20M #innodb_log_file_size = 64M #innodb_log_buffer_size = 32M #innodb_flush_log_at_trx_commit = 1 #innodb_lock_wait_timeout = 50 # added by Chris. It will save each file for each innodb table. # refer to http://mysqlcon.com/mysql-database/saving-space-disk-innodb-t4114.html # innodb_file_per_table secure-auth = OFF [mysqldump] quick max_allowed_packet = 16M socket = /tmp/mysql.sock [mysql] no-auto-rehash socket = /tmp/mysql.sock [myisamchk] key_buffer_size = 128M sort_buffer_size = 128M read_buffer = 2M write_buffer = 2M socket = /tmp/mysql.sock [mysqlhotcopy] interactive-timeout [mysqli] port = 3306 socket = /tmp/mysql.sock