summaryrefslogtreecommitdiff
path: root/files/config/CentOS/my.cnf
diff options
context:
space:
mode:
Diffstat (limited to 'files/config/CentOS/my.cnf')
-rw-r--r--files/config/CentOS/my.cnf16
1 files changed, 16 insertions, 0 deletions
diff --git a/files/config/CentOS/my.cnf b/files/config/CentOS/my.cnf
new file mode 100644
index 0000000..6d3efc6
--- /dev/null
+++ b/files/config/CentOS/my.cnf
@@ -0,0 +1,16 @@
+[mysqld]
+datadir=/var/lib/mysql
+socket=/var/lib/mysql/mysql.sock
+# Default to using old password format for compatibility with mysql 3.x
+# clients (those using the mysqlclient10 compatibility package).
+old_passwords=0
+
+bind-address=127.0.0.1
+
+[mysql.server]
+user=mysql
+basedir=/var/lib
+
+[mysqld_safe]
+log-error=/var/log/mysqld.log
+pid-file=/var/run/mysqld/mysqld.pid