change to specify mysql credentials through configuration file