At 10:13 PM -0400 6/1/01, daddius wrote:
>hello everyone...   I am very new to mysql and I needed some help creating 1
>admin account for 4 computers.
>This is the error I keep getting.
>
>       mysql> grant all on *.* to admin@% identified by "password";
>       ERROR 1064: You have an error in your SQL syntax near '% identified by
>"password"' at line 1
>       mysql>

Put quotes around the % character:

mysql> grant all on *.* to admin@"%" identified by "password";


-- 
Paul DuBois, [EMAIL PROTECTED]

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