1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
| # The following options will be passed to all MySQL clients
[client]
port = 3307
socket = /tmp/mysql_3307.sock
[mysqld]
user = mysql2
port = 3307
socket = /tmp/mysql_3307.sock
key_buffer = 64M
max_allowed_packet = 16M
table_open_cache = 256
sort_buffer_size = 1M
net_buffer_length = 32K
read_buffer_size = 1M
read_rnd_buffer_size = 1M
myisam_sort_buffer_size = 8M
character-set-server= utf8
thread_concurrency=4
thread_cache = 20
long_query_time=3000000
slow_query_log
tmpdir = /data/mysql_3307/tmp/
log-error = /data/mysql_3307/log/mysql.err
slow_query_log_file = /data/mysql_3307/log/mysql-slow-query.log
log-bin = /data/mysql_3307/log_binaire/mysql-bin
skip-external-locking
default-storage-engine=innodb
log-queries-not-using-indexes = 1
innodb_file_per_table
innodb_flush_log_at_trx_commit = 0
innodb_thread_concurrency = 6
innodb_large_prefix = 1
max_user_connections = 100
max_connections = 200
max_sp_recursion_depth=100
query_cache_type=1
query_cache_limit=1M
query_cache_size=64M
skip-federated
server-id = 2
innodb_data_file_path = ibdata1:100M:autoextend
innodb_buffer_pool_size = 5G
innodb_additional_mem_pool_size = 4M
innodb_log_file_size = 100M
innodb_log_buffer_size = 32M
innodb_lock_wait_timeout = 300
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
[isamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[myisamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout |
Partager