summaryrefslogtreecommitdiffstats
path: root/my.cnf
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-02-13 10:10:07 +0100
committerRemi Collet <fedora@famillecollet.com>2013-02-13 10:10:07 +0100
commite68a21750a6e17015341329e50f12726177358d0 (patch)
tree5887108896073d631c36ffc400a1db5eeaef2f19 /my.cnf
parent2f57d8a449a2177cdb6098e738dbb595ad41cb70 (diff)
mysql 5.6, first work
Diffstat (limited to 'my.cnf')
-rw-r--r--my.cnf33
1 files changed, 33 insertions, 0 deletions
diff --git a/my.cnf b/my.cnf
new file mode 100644
index 0000000..8219d8b
--- /dev/null
+++ b/my.cnf
@@ -0,0 +1,33 @@
+[mysqld]
+datadir=/var/lib/mysql
+socket=/var/lib/mysql/mysql.sock
+
+# Disabling symbolic-links is recommended to prevent assorted security risks
+symbolic-links=0
+
+# Settings user and group are ignored when systemd is used (fedora >= 15).
+# If you need to run mysqld under a different user or group,
+# customize your systemd unit file for mysqld according to the
+# instructions in http://fedoraproject.org/wiki/Systemd
+user=mysql
+
+# Semisynchronous Replication
+# http://dev.mysql.com/doc/refman/5.5/en/replication-semisync.html
+# uncomment next line on MASTER
+;plugin-load=rpl_semi_sync_master=semisync_master.so
+# uncomment next line on SLAVE
+;plugin-load=rpl_semi_sync_slave=semisync_slave.so
+
+# Others options for Semisynchronous Replication
+;rpl_semi_sync_master_enabled=1
+;rpl_semi_sync_master_timeout=10
+;rpl_semi_sync_slave_enabled=1
+
+# http://dev.mysql.com/doc/refman/5.5/en/performance-schema.html
+;performance_schema
+
+
+[mysqld_safe]
+log-error=/var/log/mysqld.log
+pid-file=/var/run/mysqld/mysqld.pid
+