Add required flags for user,host,pass.