Skip to content

altugank/myconfgen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

MySQL my.cnf generator

Description

A python2 script that outputs MySQL my.cnf config which is based on some known good practices (tools.percona.com Configuration Wizard, percona.com/blog, some existing MySQL configs) and mostly amount of RAM allocated for MySQL.

Usage

Run as

./myconfgen.py mysql_ram_gb=1 > /etc/my.cnf

mysql_ram_gb parameter is specified in gigabytes.

Your input

Please feel free to open pull request with your configuration suggestions.

Tried On

This has been tried on CentOS 7 using Percona Server 5.6. Potentially it could work with other MySQL flavors and probably with other Linux distributions.

About

MySQL config generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%