Hi,
not:
TO MyUserName@localhost
but instead:
TO MyUserName@% (for all remote hosts, excludes localhost)
--or--
TO MyUserName@xxx.xxx.xxx.xxx (for a specified ip)
Also i'm not sure wether it works on the commandline, because i personally always did it inside mysql, but just try it out as you...