diff --git a/plugins/mysql/conf/my.cnf b/plugins/mysql/conf/my.cnf index 547fa541c..b415d17de 100644 --- a/plugins/mysql/conf/my.cnf +++ b/plugins/mysql/conf/my.cnf @@ -10,9 +10,6 @@ socket = /tmp/mysql.sock datadir = {$SERVER_APP_PATH}/data log-error = {$SERVER_APP_PATH}/data/error.log default_storage_engine = MyISAM -#skip-external-locking -#loose-skip-innodb -#skip-grant-tables key_buffer_size = 8M max_allowed_packet = 100M table_open_cache = 32 @@ -26,12 +23,17 @@ query_cache_size = 4M tmp_table_size = 8M default-character-set=utf8 -#skip-networking -#skip-name-resolve max_connections = 500 max_connect_errors = 100 open_files_limit = 65535 +#skip-networking +#skip-name-resolve +#skip-external-locking +#loose-skip-innodb +#skip-grant-tables + + log-bin=mysql-bin binlog_format=mixed server-id = 1 diff --git a/plugins/mysql/conf/my8.0.cnf b/plugins/mysql/conf/my8.0.cnf index c30ab75c5..9b121a736 100644 --- a/plugins/mysql/conf/my8.0.cnf +++ b/plugins/mysql/conf/my8.0.cnf @@ -10,8 +10,7 @@ socket = /tmp/mysql.sock datadir = {$SERVER_APP_PATH}/data log-error = {$SERVER_APP_PATH}/data/error.log default_storage_engine = MyISAM -#skip-external-locking -#loose-skip-innodb + key_buffer_size = 8M table_open_cache = 32 sort_buffer_size = 256K @@ -24,13 +23,17 @@ lower_case_table_names=2 tmp_table_size = 8M character-set-server = UTF8MB4 -#skip-networking -#skip-name-resolve max_connections = 500 max_connect_errors = 100 open_files_limit = 2560 max_allowed_packet = 128M +#skip-external-locking +#skip-grant-tables +#loose-skip-innodb +#skip-networking +#skip-name-resolve + log-bin=mysql-bin binlog_format=mixed server-id = 1