From 576f0bc194f39fe98366d2ae66cd0790abb66d81 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 6 Jul 2022 20:01:47 +0800 Subject: [PATCH] up --- plugins/mysql-ya/conf/my.cnf | 100 -------------------------------- plugins/mysql-ya/conf/my5.7.cnf | 4 +- plugins/mysql-ya/conf/my8.0.cnf | 4 +- 3 files changed, 4 insertions(+), 104 deletions(-) delete mode 100644 plugins/mysql-ya/conf/my.cnf diff --git a/plugins/mysql-ya/conf/my.cnf b/plugins/mysql-ya/conf/my.cnf deleted file mode 100644 index 63c200bd8..000000000 --- a/plugins/mysql-ya/conf/my.cnf +++ /dev/null @@ -1,100 +0,0 @@ -[client] -user = root -#password = your_password -port = 3306 -socket = {$SERVER_APP_PATH}/mysql.sock - -[mysqld] -# 5.6 -#default_authentication_plugin=mysql_native_password -pid-file={$SERVER_APP_PATH}/data/mysqld.pid -user = mysql -port = 3306 -socket = {$SERVER_APP_PATH}/mysql.sock -datadir = {$SERVER_APP_PATH}/data -log-error = {$SERVER_APP_PATH}/data/error.log -default_storage_engine = MyISAM -key_buffer_size = 8M -max_allowed_packet = 100M -table_open_cache = 32 -sort_buffer_size = 256K -net_buffer_length = 4K -read_buffer_size = 128K -read_rnd_buffer_size = 256K -myisam_sort_buffer_size = 4M -thread_cache_size = 4 -lower_case_table_names=1 -query_cache_size = 4M -tmp_table_size = 8M - -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 -expire_logs_days = 10 -slow_query_log=1 -slow-query-log-file={$SERVER_APP_PATH}/data/mysql-slow.log -long_query_time=3 -#log_queries_not_using_indexes=on - -relay-log=mdserver -relay-log-index=mdserver - -#master -#binlog-do-db -binlog-ignore-db = test -binlog-ignore-db = mysql -binlog-ignore-db = information_schema -binlog-ignore-db = performance_schema - -#slave -log-slave-updates -#replicate-do-db -replicate-ignore-db = information_schema -replicate-ignore-db = performance_schema -replicate-ignore-db = mysql -replicate-ignore-db = test - -default_storage_engine = InnoDB -innodb_data_home_dir = {$SERVER_APP_PATH}/data -innodb_data_file_path = ibdata1:10M:autoextend -innodb_log_group_home_dir = {$SERVER_APP_PATH}/data -innodb_buffer_pool_size = 16M -innodb_additional_mem_pool_size = 2M -innodb_log_file_size = 5M -innodb_log_buffer_size = 8M -innodb_flush_log_at_trx_commit = 1 -innodb_lock_wait_timeout = 120 -innodb_max_dirty_pages_pct = 90 -innodb_read_io_threads = 1 -innodb_write_io_threads = 1 -innodb_file_per_table=1 - - -secure-file-priv={$SERVER_APP_PATH}/tmp - -[mysqldump] -quick -max_allowed_packet = 16M - -[mysql] -no-auto-rehash - -[myisamchk] -key_buffer_size = 20M -sort_buffer_size = 20M -read_buffer = 2M -write_buffer = 2M - -[mysqlhotcopy] -interactive-timeout \ No newline at end of file diff --git a/plugins/mysql-ya/conf/my5.7.cnf b/plugins/mysql-ya/conf/my5.7.cnf index cfb7b851b..e383863e1 100644 --- a/plugins/mysql-ya/conf/my5.7.cnf +++ b/plugins/mysql-ya/conf/my5.7.cnf @@ -1,14 +1,14 @@ [client] user = root #password = your_password -port = 3306 +port = 3376 socket = {$SERVER_APP_PATH}/mysql.sock default-character-set = UTF8MB4 [mysqld] pid-file = {$SERVER_APP_PATH}/data/mysql.pid user = mysql -port = 3306 +port = 3376 socket = {$SERVER_APP_PATH}/mysql.sock datadir = {$SERVER_APP_PATH}/data log-error = {$SERVER_APP_PATH}/data/error.log diff --git a/plugins/mysql-ya/conf/my8.0.cnf b/plugins/mysql-ya/conf/my8.0.cnf index cfb7b851b..0cd08954b 100644 --- a/plugins/mysql-ya/conf/my8.0.cnf +++ b/plugins/mysql-ya/conf/my8.0.cnf @@ -1,14 +1,14 @@ [client] user = root #password = your_password -port = 3306 +port = 3386 socket = {$SERVER_APP_PATH}/mysql.sock default-character-set = UTF8MB4 [mysqld] pid-file = {$SERVER_APP_PATH}/data/mysql.pid user = mysql -port = 3306 +port = 3386 socket = {$SERVER_APP_PATH}/mysql.sock datadir = {$SERVER_APP_PATH}/data log-error = {$SERVER_APP_PATH}/data/error.log