S�ren,
Saturday, February 16, 2002, 2:59:02 PM, you wrote:
SN> I'm a total newbie to MySQL, so I'm reading the documentation right
SN> now. In "General Security" I read that "SHOW GRANTS" should give me a
SN> picture of who has what rights, but if I use "SHOW GRANTS" I get the
SN> following error: ERROR 1064: You have an error in your SQL syntax near '' at line 1
SN> What am I doing wrong?
You did using wrong sintax for SHOW GRANTS statement.
The correct sintax is:
SHOW GRANTS FOR 'user'@'host';
--
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Victoria Reznichenko
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com
---------------------------------------------------------------------
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