Fix erroring if MySQL config is incorrect