Skip to content

Instantly share code, notes, and snippets.

@ghostrocket
Last active August 29, 2015 14:08
Show Gist options
  • Save ghostrocket/4a4b291092a7eb37f99c to your computer and use it in GitHub Desktop.
Save ghostrocket/4a4b291092a7eb37f99c to your computer and use it in GitHub Desktop.
mysql local
# put this file in /usr/local/etc/my.cnf
[mysqld]
max_connections = 10
key_buffer_size = 16K
max_allowed_packet = 1M
table_open_cache = 4
sort_buffer_size = 64K
read_buffer_size = 256K
read_rnd_buffer_size = 256K
net_buffer_length = 2K
thread_stack = 128K
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment