Jump to content

My.cnf of Master Server for Radico

From TetraWiki
Revision as of 03:24, 11 August 2019 by Biswajit (talk | contribs) (Created page with "category:Radico-Khaitan # Master Server # For advice on how to change settings please see # http://dev.mysql.com/doc/refman/8.0/en/server-configuration-defaults.html ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


  1. Master Server
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/8.0/en/server-configuration-defaults.html
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
log_error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
#general_log_file        = /var/log/mysql_general.log
#general_log             = 1
slow_query_log = 1
slow_query_log_file = /var/log/mysql-slow.log
long_query_time = 2
#innoda-flush-method            = O_DIRECT
#innodb-flush-log-at-trx-commit = 2
##innodb-file-per-table          = 1
innodb-buffer-pool-size        = 50G
default-storage-engine         = InnoDB
# CACHES AND LIMITS #
tmp-table-size                 = 4092M
max-heap-table-size            = 32M
max-connections                = 500
thread-cache-size              = 500
open-files-limit               = 65535
table-definition-cache         = 4096
table-open-cache               = 2048
server-id=100
lower_case_table_names = 1
sql_mode = STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION
default_authentication_plugin=mysql_native_password