Update mysql-50-server.cnf
This commit is contained in:
parent
17ff919f72
commit
b70a93f595
1 changed files with 4 additions and 5 deletions
|
@ -14,12 +14,11 @@
|
||||||
#
|
#
|
||||||
# * Basic Settings
|
# * Basic Settings
|
||||||
#
|
#
|
||||||
user = root
|
user = vagrant
|
||||||
pid-file = /var/run/mysqld/mysqld.pid
|
pid-file = /vagrant/mysql/mysqld.pid
|
||||||
socket = /var/run/mysqld/mysqld.sock
|
socket = /vagrant/mysql/mysqld.sock
|
||||||
port = 3306
|
port = 3306
|
||||||
basedir = /usr
|
basedir = /usr
|
||||||
#datadir = /var/lib/mysql
|
|
||||||
datadir = /vagrant/mysql/data
|
datadir = /vagrant/mysql/data
|
||||||
tmpdir = /tmp
|
tmpdir = /tmp
|
||||||
lc-messages-dir = /usr/share/mysql
|
lc-messages-dir = /usr/share/mysql
|
||||||
|
@ -73,7 +72,7 @@ long_query_time = 10
|
||||||
# note: if you are setting up a replication slave, see README.Debian about
|
# note: if you are setting up a replication slave, see README.Debian about
|
||||||
# other settings you may need to change.
|
# other settings you may need to change.
|
||||||
#server-id = 1
|
#server-id = 1
|
||||||
#log_bin = /var/log/mysql/mysql-bin.log
|
log_bin = /vagrant/mysql/mysql-bin.log
|
||||||
expire_logs_days = 10
|
expire_logs_days = 10
|
||||||
max_binlog_size = 100M
|
max_binlog_size = 100M
|
||||||
#binlog_do_db = include_database_name
|
#binlog_do_db = include_database_name
|
||||||
|
|
Reference in a new issue