Host name might be a problem. When you connect via command line, which host do you connect from? From localhost (where MySql runs) or from remote host (where SQLyog runs)? Check if xxx@intranet-100 user (or xxx@%) exists at all!
if mysq settings on localhost(where MySql runs) host allow connect from remote host you be connected, else you have error Access denied for user: 'xxx@intranet-100' (Using password:YES)
And you can't fix it, and not one program runned from remote host can't connect…. fucking Security 😉