Re: Confused about privileges

2005-09-05 Thread Todd Cary
Chris et al - The MySQL online manual does show *.* to be used for global priviledges, but my MySQL book only used the *. My mistake! However, the online manual does not indicate (or I am missing it) what the use of * grants. Thank you for the help...it is now working and my DB, "sfyc" does

Re: Confused about privileges

2005-09-05 Thread Gleb Paharenko
Hello. > grant all on * to todd identified by 'my_password' with grant option; May be you wanted '*.*' instead of '*'? See: grant all on *.* to todd identified by 'my_password' with grant option; > mysql -u todd -p sfyc You should specify the database name not a table name ('sfy

Re: Confused about privileges

2005-09-05 Thread Chris
Did you run the statement witht he mysql database as the current database? If so , you're statement probably got converted to this: grant all on mysql.* to todd identified by 'my_password' with grant option; It seems like a logical thing The grant statement applying to all databases/tables sho

Confused about privileges

2005-09-05 Thread Todd Cary
I have created a table, "sfyc" and as root I issued the following: grant all on * to todd identified by 'my_password' with grant option; However, "todd" cannot access "sfyc" with mysql -u todd -p sfyc And the mysql db contains the following: user table +---+--+ | host | user