Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # GENERAL datadir
- [mysqld]
- basedir = /usr
- datadir = /var/lib/mysql
- tmpdir = /tmp
- user = mysql
- socket = /var/run/mysqld/mysqld.sock
- pid-file = /var/run/mysqld/mysqld.pid
- log_error = /var/log/mysql/error.log
- general_log_file = /var/log/mysql/mysql.log
- lc-messages-dir = /usr/share/mysql
- slow_query_log = 1
- long_query_time = 1
- open_files_limit = 4000
- innodb_open_files = 4000
- # INNODB
- default_storage_engine = InnoDB
- innodb_buffer_pool_size = 32768M
- innodb_log_buffer_size = 128M
- innodb_log_file_size = 2048M
- innodb_buffer_pool_instances = 8
- innodb_flush_method = O_DIRECT
- innodb_flush_log_at_trx_commit = 0
- innodb_autoinc_lock_mode = 0
- innodb_file_per_table = 1
- max_connections = 512
- max_allowed_packet = 512M
- max_connect_errors = 1024
- table_open_cache = 4000
- query_cache_type = 0
- thread_cache_size = 128
- thread_stack = 512K
- innodb_thread_concurrency = 0
- query_cache_size = 0
- userstat = On
- performance_schema = On
- #query_response_time_stats = On
- performance_schema_digests_size = 200
- performance_schema_events_waits_history_size = 20
- performance_schema_events_waits_history_long_size = 15000
- collation-server = utf8mb4_general_ci
- character-set-server = utf8mb4
- wait_timeout = 600
- interactive_timeout = 600
- #***
- innodb_support_xa = 0
- sync_binlog = 0
- transaction-isolation = READ-COMMITTED
- innodb_locks_unsafe_for_binlog = 1
- innodb_doublewrite = 0
- innodb_io_capacity = 600
- innodb_read_io_threads = 4
- innodb_write_io_threads = 4
- innodb_old_blocks_time = 1000
- innodb_adaptive_hash_index = 0
- innodb_purge_threads = 4
- table_definition_cache = 4000
- # OTHER
- [client]
- port = 3306
- socket = /var/run/mysqld/mysqld.sock
- default-character-set = utf8mb4
- [mysqld_safe]
- socket = /var/run/mysqld/mysqld.sock
- nice = 0
- [mysqldump]
- quick
- quote-names
- max_allowed_packet = 512M
- [isamchk]
- key_buffer = 512M
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement