Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [mysql]
- port = 3306
- socket = /var/run/mysqld/mysqld.sock
- [mysqld]
- user = mysql
- default-storage-engine = InnoDB
- bind-address = 0.0.0.0
- port = 3306
- socket = /var/run/mysqld/mysqld.sock
- pid-file = /var/run/mysqld/mysqld.pid
- key-buffer-size = 32M
- myisam-recover = FORCE,BACKUP
- max-allowed-packet = 16M
- max-connect-errors = 1000000
- skip-name-resolve
- datadir = /var/lib/mysql/
- log-bin = /var/lib/mysql/mysql-bin
- expire-logs-days = 2
- max_binlog_size = 500M
- sync-binlog = 1
- log-slave-updates = 1
- relay-log = /var/lib/mysql/relay-bin
- slave-net-timeout = 60
- sync-master-info = 1
- sync-relay-log = 1
- sync-relay-log-info = 1
- tmp-table-size = 32M
- max-heap-table-size = 32M
- query-cache-type = 1
- query-cache-size = 32M
- max-connections = 1000
- thread-cache-size = 100
- open-files-limit = 65535
- table-definition-cache = 4096
- table-open-cache = 10240
- innodb-flush-method = O_DIRECT
- innodb-log-files-in-group = 2
- innodb-log-file-size = 128M
- innodb-flush-log-at-trx-commit = 2
- innodb-file-per-table = 1
- innodb-buffer-pool-size = 2G
- log-error = /var/log/mysql/error.log
- log-queries-not-using-indexes = 1
- slow-query-log = 1
- slow-query-log-file = /var/log/mysql/slow.log
- replicate-ignore-db = mysql
- ; These settings are essential for $customer
- optimizer_search_depth = 6
- character-set-server = utf8
- ; Recommended by mysqltuner.pl
- join_buffer_size = 512K
- tmp_table_size = 64M
- max_heap_table_size = 64M
- table_open_cache = 20KB
- !includedir /etc/mysql/conf.d/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement