Skip to content

Instantly share code, notes, and snippets.

@luk-
Created November 11, 2011 22:12
Show Gist options
  • Save luk-/1359486 to your computer and use it in GitHub Desktop.
Save luk-/1359486 to your computer and use it in GitHub Desktop.
CentOS 5.6 default my.cnf
[mysqld]
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
# 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