mysql connect + config_from_object