Untitled diff
43 lines
[client]
[client]
port = 3306
port = 3306
socket = /run/mysqld/mysqld.sock
socket = /run/mysqld/mysqld.sock
[mysqld]
[mysqld]
bind-address = 0.0.0.0
bind-address = 0.0.0.0
port = 3306
port = 3306
socket = /run/mysqld/mysqld.sock
socket = /run/mysqld/mysqld.sock
skip-name-resolve
skip-external-locking
skip-external-locking
key_buffer_size = 16K
key_buffer_size = 16M
max_allowed_packet = 1M
max_allowed_packet = 1M
table_open_cache = 4
table_open_cache = 4
sort_buffer_size = 64K
sort_buffer_size = 16M
read_buffer_size = 256K
read_buffer_size = 8M
read_rnd_buffer_size = 256K
read_rnd_buffer_size = 512K
net_buffer_length = 2K
net_buffer_length = 2K
thread_stack = 240K
thread_stack = 240K
innodb_data_home_dir = /var/services/mysql
innodb_data_home_dir = /var/services/mysql
innodb_data_file_path = ibdata1:10M:autoextend
innodb_data_file_path = ibdata1:10M:autoextend
innodb_log_group_home_dir = /var/services/mysql
innodb_log_group_home_dir = /var/services/mysql
innodb_buffer_pool_size = 16M
innodb_buffer_pool_size = 16M
innodb_additional_mem_pool_size = 2M
innodb_additional_mem_pool_size = 2M
#innodb_log_file_size = 5M
#innodb_log_file_size = 5M
#innodb_log_buffer_size = 8M
#innodb_log_buffer_size = 8M
#innodb_flush_log_at_trx_commit = 1
#innodb_flush_log_at_trx_commit = 1
#innodb_lock_wait_timeout = 50
#innodb_lock_wait_timeout = 50
[mysqldump]
[mysqldump]
quick
quick
max_allowed_packet = 16M
max_allowed_packet = 16M
[mysql]
[mysql]
no-auto-rehash
no-auto-rehash
[myisamchk]
[myisamchk]
key_buffer_size = 8M
key_buffer_size = 8M
sort_buffer_size = 8M
sort_buffer_size = 8M
[mysqlhotcopy]
[mysqlhotcopy]
interactive-timeout
interactive-timeout
# Please add your custom configuration to here:
# Please add your custom configuration to here:
!include /usr/syno/etc/packages/MariaDB/my.cnf
!include /usr/syno/etc/packages/MariaDB/my.cnf