Skip to content

Instantly share code, notes, and snippets.

@karschsp
Created October 5, 2015 15:46
Show Gist options
  • Save karschsp/73c777e0e2e708d6d953 to your computer and use it in GitHub Desktop.
Save karschsp/73c777e0e2e708d6d953 to your computer and use it in GitHub Desktop.
my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
max_allowed_packet=128M
max_connections=15
query_cache_size=16M
join_buffer_size=1M
table_open_cache=256
max_heap_table_size = 64M
tmp_table_size = 128M
# skip-innodb
thread_cache_size=4
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
[mysqldump]
max_allowed_packet=128M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment