Hello.
If you want wildcards you could use something like this:
grant all privileges on `%samhain%`.* to [EMAIL PROTECTED] identified
by 'passwd' with grant option;
Mark Sargent <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> trying to create a new user with the below,
>
> GRANT ALL PRIVILEGES ON *samhain* TO 'samhain'@'localhost' IDENTIFIED BY
> 'passwd' WITH GRANT OPTION;
>
> but, it gives a syntax error message. mysql version is 4.1.12. What is
> wrong with the syntax.? Cheers.
>
> Mark Sargent.
>
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Gleb Paharenko
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.NET
<___/ www.mysql.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]