refactor MySQL configuration
Merge pull request #40 from mmoll/mysql_define

refactor MySQL configuration