ANXS / mysql

Ansible role for MySQL
MIT License
94 stars 70 forks source link

Allow resizing ib_logfiles and default to newer (larger) value for it. #47

Open ajsalminen opened 8 years ago

ajsalminen commented 8 years ago

Changing the innodb_log_file_size prior to MySQL version 5.6.8 requires you to stop the server, move the old log files away and start the server again. This patch would automate that and set the default from the tiny 5M that is not enough for almost any site to the one newer MySQL versions default to (48M).

ajsalminen commented 8 years ago

Looks like the test is failing because it uses ansible version 1.5 and version_compare was added in 1.6. How should this be resolved?