Skip to content

Instantly share code, notes, and snippets.

@gagarine
Created August 26, 2011 09:58
Show Gist options
  • Save gagarine/1173111 to your computer and use it in GitHub Desktop.
Save gagarine/1173111 to your computer and use it in GitHub Desktop.
/usr/local/etc/my.cnf to run Drupal on Hombrew's MySQL
[client]
port = 3306
socket = /tmp/mysql.sock
[mysqld]
bind-address = 127.0.0.1
port = 3306
socket = /tmp/mysql.sock
max_allowed_packet = 64M
table_cache = 4096
sort_buffer_size = 2M
read_buffer_size = 2M
read_rnd_buffer_size = 64M
myisam_sort_buffer_size = 64M
thread_cache_size = 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment