Added more MySQL stuff, updated the config to also include database-related info.