Dennis,
Monday, May 06, 2002, 4:51:50 PM, you wrote:

D> I have tried almost everything and nothing works.

D> The problem is, I have a server with different MySQL databases from
D> different people.

D> User 1 should not access database 2 and user 2 should not access database 1.

D> What is the easiest way to prevent user 1 to access database 2. I can't get
D> it right.

You should set permissions for user 1 on every required database, except
database 2.

Use GRANT statement:
    http://www.mysql.com/doc/G/R/GRANT.html

D> Thanks in advance,
D> Dennis




-- 
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

Reply via email to