Moestl,
Monday, September 23, 2002, 9:54:33 AM, you wrote:

MW> If you have a host having the minus character '-' in the name the mysql command 
SHOW GRANTS FOR fails.

MW> Example:

MW> SHOW GRANTS FOR root@MY-COMUPTER results in the error message
MW> "You have an error in your SQL syntax near '-COMPUTER' at line 1".

MW> It looks like the command processor stops the parsing for the hostname at the '-' 
character and tries to find an appropriate command sequence afterwards.

MW> Is this a Bug or expected behaviour?

Quote host name, like 'root'@'MY-COMUPTER'



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to