-
-
Save buluma/e64d339d2835610647a18b34db20dd70 to your computer and use it in GitHub Desktop.
CentOS 5.6 default my.cnf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[mysqld] | |
server_id=1 | |
datadir=/var/lib/mysql | |
socket=/var/lib/mysql/mysql.sock | |
user=mysql | |
# Default to using old password format for compatibility with mysql 3.x | |
# clients (those using the mysqlclient10 compatibility package). | |
old_passwords=1 | |
#replication config | |
log_bin = /var/log/mysql/mysql-bin.log | |
log_bin_index = /var/log/mysql/mysql-bin.log.index | |
relay_log = /var/log/mysql/mysql-relay-bin | |
relay_log_index = /var/log/mysql/mysql-relay-bin.index | |
expire_logs_days = 10 | |
max_binlog_size = 100M | |
log_slave_updates = 1 | |
auto-increment-increment = 2 | |
auto-increment-offset = 1 | |
# Disabling symbolic-links is recommended to prevent assorted security risks; | |
# to do so, uncomment this line: | |
# symbolic-links=0 | |
[mysqld_safe] | |
log-error=/var/log/mysqld.log | |
pid-file=/var/run/mysqld/mysqld.pid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment