Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [client]
- port = 3306
- socket = /var/run/mysqld/mysqld.sock
- [mysqld_safe]
- socket = /var/run/mysqld/mysqld.sock
- nice = 0
- [mysqld]
- user = mysql
- pid-file = /var/run/mysqld/mysqld.pid
- socket = /var/run/mysqld/mysqld.sock
- port = 3306
- basedir = /usr
- datadir = /var/lib/mysql
- tmpdir = /tmp
- language = /usr/share/mysql/english
- skip-external-locking
- bind-address = 127.0.0.1
- max_connections = 100
- connect_timeout = 5
- wait_timeout = 600
- max_allowed_packet = 16M
- thread_cache_size = 128
- sort_buffer_size = 4M
- bulk_insert_buffer_size = 16M
- tmp_table_size = 32M
- max_heap_table_size = 32M
- myisam_recover = BACKUP
- key_buffer_size = 128M
- #open-files-limit = 2000
- table_cache = 400
- myisam_sort_buffer_size = 512M
- concurrent_insert = 2
- read_buffer_size = 2M
- read_rnd_buffer_size = 1M
- query_cache_limit = 128K
- query_cache_size = 64M
- log_warnings = 2
- slow_query_log_file = /var/log/mysql/mariadb-slow.log
- long_query_time = 10
- log_slow_verbosity = query_plan
- log_bin = /var/log/mysql/mariadb-bin
- log_bin_index = /var/log/mysql/mariadb-bin.index
- expire_logs_days = 10
- max_binlog_size = 100M
- default_storage_engine = InnoDB
- innodb_buffer_pool_size = 256M
- innodb_log_buffer_size = 8M
- innodb_file_per_table = 1
- innodb_open_files = 400
- innodb_io_capacity = 400
- innodb_flush_method = O_DIRECT
- [mysqldump]
- quick
- quote-names
- max_allowed_packet = 16M
- [mysql]
- [isamchk]
- key_buffer = 16M
- !includedir /etc/mysql/conf.d/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement