re: multiple hosts w/ GRANT

2002-12-06 Thread Egor Egorov
Mike,
Thursday, December 05, 2002, 7:11:39 PM, you wrote:

MD I'm wondering if it's possible to specify multiple hosts for a user when 
MD setting up permissions, but without using wildcards.

MD For example.. if I have these two GRANT statements:

MD GRANT SELECT on database.* to [EMAIL PROTECTED] identified by 'passwd';
MD GRANT SELECT on database.* to [EMAIL PROTECTED] identified by 'passwd';

MD Is it possible to combine them in some fashion such that there would be 
MD one entry in the mysql.user table with multiple hosts?

Without wildcard - nope. But you can grant privileges to the
%.foo.org or host_.foo.org.




-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [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




multiple hosts w/ GRANT

2002-12-05 Thread Mike Dopheide

I'm wondering if it's possible to specify multiple hosts for a user when 
setting up permissions, but without using wildcards.

For example.. if I have these two GRANT statements:

GRANT SELECT on database.* to [EMAIL PROTECTED] identified by 'passwd';
GRANT SELECT on database.* to [EMAIL PROTECTED] identified by 'passwd';

Is it possible to combine them in some fashion such that there would be 
one entry in the mysql.user table with multiple hosts?

-Mike


-
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