3 |
- |
1 |
[mysqld]
|
|
|
2 |
datadir=/var/lib/mysql
|
|
|
3 |
socket=/var/lib/mysql/mysql.sock
|
|
|
4 |
|
|
|
5 |
# Disabling symbolic-links is recommended to prevent assorted security risks
|
|
|
6 |
symbolic-links=0
|
|
|
7 |
|
|
|
8 |
# Settings user and group are ignored when systemd is used (fedora >= 15).
|
|
|
9 |
# If you need to run mysqld under a different user or group,
|
|
|
10 |
# customize your systemd unit file for mysqld according to the
|
|
|
11 |
# instructions in http://fedoraproject.org/wiki/Systemd
|
|
|
12 |
user=mysql
|
|
|
13 |
|
|
|
14 |
# Semisynchronous Replication
|
|
|
15 |
# http://dev.mysql.com/doc/refman/5.5/en/replication-semisync.html
|
|
|
16 |
# uncomment next line on MASTER
|
|
|
17 |
;plugin-load=rpl_semi_sync_master=semisync_master.so
|
|
|
18 |
# uncomment next line on SLAVE
|
|
|
19 |
;plugin-load=rpl_semi_sync_slave=semisync_slave.so
|
|
|
20 |
|
|
|
21 |
# Others options for Semisynchronous Replication
|
|
|
22 |
;rpl_semi_sync_master_enabled=1
|
|
|
23 |
;rpl_semi_sync_master_timeout=10
|
|
|
24 |
;rpl_semi_sync_slave_enabled=1
|
|
|
25 |
|
|
|
26 |
# http://dev.mysql.com/doc/refman/5.5/en/performance-schema.html
|
|
|
27 |
;performance_schema
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
[mysqld_safe]
|
|
|
31 |
log-error=/var/log/mysqld.log
|
|
|
32 |
pid-file=/var/run/mysqld/mysqld.pid
|
|
|
33 |
|