in the orginal message, this:
mysql -h myhost.com -u root -proot
ERROR 2005 (HY000): Unknown MySQL server host '' (2)

represent command line, followed by return message, that means: specify 
anything else than localhost mysql client shell utility give the message:
ERROR 2005 (HY000): Unknown MySQL server host '' (2)

It appear that /usr/bin/mysql do not parse command line.
It is the same specifying --host=... or -hmyhost.com

1 step to reproduce: mysql command with host not equal to localhost

-- 
mysql command line do not accept host param
https://bugs.launchpad.net/bugs/523131
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to