Created
April 12, 2013 19:46
-
-
Save jpiche/5374590 to your computer and use it in GitHub Desktop.
Beyond what is shipped by default in MySQL or MariaDB my.cnf config files, I always make sure to put these in and edit memory settings appropriately.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [mysqld] | |
| bind-address = 127.0.0.1 | |
| skip-name-resolve | |
| 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 | |
| character-set-server = utf8 | |
| key_buffer = 16M | |
| query_cache_limit = 4M | |
| query_cache_size = 100M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment