Patrick,
Monday, September 23, 2002, 4:24:13 PM, you wrote:

PF> I'm just starting out with MySQL.  How do you set permission to allow for
PF> access from a domain or IP.  I found this in the docs.  I this all I need?

PF> GRANT ALL PRIVILEGES ON *.* TO monty@"%" -> IDENTIFIED BY 'some_pass' WITH
PF> GRANT OPTION; 

Patrick, "%" in the host field means "any host". If you want to allow
connection only from certain host for user, you should specify host
name or IP adddress, like
    GRANT ALL ON *.* TO 'someuser'@'ensita.net' IDENTIFIED BY
    'soempassword' WITH GRANT OPTION;

Some info you can also find here:
     http://www.mysql.com/doc/en/Connection_access.html


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