On Mon, Oct 22, 2001 at 04:23:10PM +0200, [EMAIL PROTECTED] wrote:
> >Description:
>       the character '-' in username or hostname is not accepted by the GRANT sql 
>statement.
> >How-To-Repeat:
>       grant all on *.* to [EMAIL PROTECTED];
> >Fix:
>       don't use dashes, fixing the SQL parser.
> 

Or use quotes around the hostname:

grant all on *.* to "my-user"@"my-host.com";

Fred.

-- 
Fred van Engen                              XO Communications B.V.
email: [EMAIL PROTECTED]             Televisieweg 2
tel: +31 36 5462400                         1322 AC  Almere
fax: +31 36 5462424                         The Netherlands

---------------------------------------------------------------------
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