| 4 |
- |
1 |
[mysqld]
|
| 10 |
- |
2 |
innodb_file_per_table
|
| 154 |
- |
3 |
datadir=/db/mysql
|
| 4 |
- |
4 |
socket=/var/lib/mysql/mysql.sock
|
|
|
5 |
# Settings user and group are ignored when systemd is used (fedora >= 15).
|
|
|
6 |
# If you need to run mysqld under different user or group,
|
|
|
7 |
# customize your systemd unit file for mysqld according to the
|
|
|
8 |
# instructions in http://fedoraproject.org/wiki/Systemd
|
|
|
9 |
user=mysql
|
|
|
10 |
symbolic-links=0
|
|
|
11 |
key_buffer = 640M
|
|
|
12 |
table_cache = 1280
|
|
|
13 |
sort_buffer_size = 2M
|
|
|
14 |
myisam_sort_buffer_size = 8M
|
| 154 |
- |
15 |
query_cache_size = 128M
|
| 4 |
- |
16 |
thread_cache_size = 12
|
|
|
17 |
innodb_buffer_pool_size = 4G
|
|
|
18 |
join_buffer_size = 32k
|
|
|
19 |
|
|
|
20 |
# Semisynchronous Replication
|
|
|
21 |
# http://dev.mysql.com/doc/refman/5.5/en/replication-semisync.html
|
|
|
22 |
# uncomment next line on MASTER
|
|
|
23 |
;plugin-load=rpl_semi_sync_master=semisync_master.so
|
|
|
24 |
# uncomment next line on SLAVE
|
|
|
25 |
;plugin-load=rpl_semi_sync_slave=semisync_slave.so
|
|
|
26 |
|
|
|
27 |
# Others options for Semisynchronous Replication
|
|
|
28 |
;rpl_semi_sync_master_enabled=1
|
|
|
29 |
;rpl_semi_sync_master_timeout=10
|
|
|
30 |
;rpl_semi_sync_slave_enabled=1
|
|
|
31 |
|
|
|
32 |
# http://dev.mysql.com/doc/refman/5.5/en/performance-schema.html
|
|
|
33 |
;performance_schema
|
|
|
34 |
|
| 60 |
- |
35 |
#zarafa
|
|
|
36 |
max_allowed_packet=16M
|
|
|
37 |
|
| 154 |
- |
38 |
init_connect='SET collation_connection = utf8_unicode_ci'
|
|
|
39 |
init_connect='SET NAMES utf8'
|
|
|
40 |
character-set-server=utf8
|
|
|
41 |
collation-server=utf8_unicode_ci
|
|
|
42 |
skip-character-set-client-handshake
|
|
|
43 |
|
|
|
44 |
# mysqldump restore
|
|
|
45 |
;SET autocommit = 0;
|
|
|
46 |
;SET unique_checks=0;
|
|
|
47 |
;SET foreign_key_checks=0;
|
|
|
48 |
;START TRANSACTION;
|
|
|
49 |
#innodb_flush_log_at_trx_commit = 2
|
|
|
50 |
#innodb_log_file_size = 256M
|
|
|
51 |
#innodb_flush_method = O_DIRECT
|
|
|
52 |
|
| 4 |
- |
53 |
[mysqld_safe]
|
|
|
54 |
log-error=/var/log/mysqld.log
|
|
|
55 |
pid-file=/var/run/mysqld/mysqld.pid
|
| 154 |
- |
56 |
socket=/var/lib/mysql/mysql.sock
|