try this:

grant all on *.* to admin identified by 'password';

this would create user called 'admin' who can access
mysql from any host.

...Rohit

----- Original Message -----
From: daddius <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 02, 2001 7:43 AM
Subject: FW: ezmlm response


> 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>
>
> I tried this on win2k and also redhat linux 7.0
>
>
> ---------------------------------------------------------------------
> 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
>
>


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