These should all work and be equivalent. By the way, the first one should now be model = Model(optimizer_with_attributes(Mosek.Optimizer, "QUIET" => false)).
Please provide a minimal example, the versions of JuMP, MathOptInterface, MosekTools and Mosek you used and the output you get. EDIT as mentioned in the comment below, the first one should set true, not false