Generate MySQL Configs using Percona Wizard
Visit to Percona site(https://tools.percona.com)
Percona Tools
Click on Create Your mysql Configuration
Create An account or sign in (if you already have an account)
goto Dashboard and Click on configure a new server
answer the question on configuration wizard and click on next (you can leave some field blank which are not mandatory)
after click on DONE you will get your mysql configuration file