[mysql]
# CLIENT #
port = 2307
socket = /home/interworx/mysql/iworx-db.sock
[mysqld]
# GENERAL #
port = 2307
user = iworx
default_storage_engine = MyISAM
socket = /home/interworx/mysql/iworx-db.sock
pid_file = /home/interworx/mysql/iworx-db.pid
basedir = /home/interworx/mysql
tmpdir = /home/interworx/mysql/tmp
secure-file-priv = /home/interworx/mysql/mysql-files
# MyISAM #
key_buffer_size = 32M
myisam_recover = FORCE,BACKUP
# SAFETY #
max_allowed_packet = 128M
max_connect_errors = 1000000
skip_name_resolve
sql_mode = STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE
sysdate_is_now = 1
innodb = FORCE
innodb_strict_mode = 1
# DATA STORAGE #
datadir = /home/interworx/mysql/data
# CACHES AND LIMITS #
tmp_table_size = 32M
max_heap_table_size = 32M
query_cache_type = 1
query_cache_size = 16M
max_connections = 500
thread_cache_size = 50
open_files_limit = 65535
table_definition_cache = 1024
table_open_cache = 2048
# INNODB #
# Remove innodb_large_prefix percona >= 5.7, at that point it is default and will be depreciated.
innodb_large_prefix = true
innodb_file_format = Barracuda
innodb_flush_method = O_DIRECT
innodb_log_files_in_group = 2
innodb_log_file_size = 64M
innodb_flush_log_at_trx_commit = 2
innodb_file_per_table = 1
innodb_buffer_pool_size = 8M # We don't use InnoDB, but disabling it completely
# can cause crashies, so just set it to the default low 8M.
# LOGGING #
log_error = /home/interworx/mysql/error.log
log_queries_not_using_indexes = 0
slow_query_log = 0
[mysqladmin]
socket = /home/interworx/mysql/iworx-db.sock
[mysqld_safe]
|