On Saturday 14 December 2002 02:49, John Dell wrote: > Using MySQL 4.0.5a, GRANT is correctly adding users (and the privileges are > working), but when you view the mysql.user table, all privileges are > showing up as 'N', when some of them should be 'Y'. Anybody seen this or > understand what's going on? > > For example: > > GRANT SELECT ON dbname.* TO test@localhost IDENTIFIED BY 'testpass'; > flush privileges; > SELECT * FROM USER WHERE User='test'; > > It will show 'N' in all privilege columns which is wrong. It should show a > 'Y' in the select_priv column. > > Is this a bug/feature or what?
It's not a bug ;) Table 'user' contains only global privileges and you give to user only database level privileges ;) Take a look in the table 'db'. -- For technical support contracts, goto https://order.mysql.com/?ref=ensita 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