At 5:25 PM -0500 6/12/01, David Simcik wrote:
>Trying to grant super-user level permissions on my root account, but I keep
>getting back an error:
>mysql> GRANT ALL PRIVILEGES ON *.* TO root@% IDENTIFIED BY 'user' WITH GRANT
>ERROR 1064: You have an error in your SQL syntax near '% IDENTIFIED BY
>'user' WITH GRANT OPTION' at line 1
>What exactly does the IDENTIFIED BY 'user' statement do anyways? ;-)
>I'm hoping this is rather trivial to correct!
It is, but you're reading the error message incorrectly. Note that it
begins with % and not with IDENTIFIED. You should write the user@host
part of the GRANT statement like this: root@'%'
Note the quotes around the % character.
Paul DuBois, paul@stripped