I use this for server with 16gb ram and 4 core you can edit and adjust with your server spesifications my.cnf file config - MYSQL Configuration src : https://gist.github.com/fevangelou/fb72f36bbe333e059b66