[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Granting Access in MySQL


Demirchyan Oganes-AOD098 writes:
> Hello everyone,
> 
> I'm trying to grant rights to several user accessing my database.
> Right now I'm using their individual IP addresses to grant them privileges.  Which works fine.
> This way I have to assign user name and password to each and everyone of them.
> 
> What I want is to enable everyone within my network to connect to my DB.  For that I need a valid host name.
> I have tried %, which supposed to let everyone in, but no luck.  I also tried something like 10.45.*.* or 10.45.%.%
> but no luck.  
> 
> 
> I'm stuck.  What else can I do?
> 
> Regards,
>  
> Oganes Demirchyan
> Motorola Life Science
> 757 S.Raymond
> Pasadena, CA  91105
> Tel: 626-584-5900
> email: Oganes.Demirchyan@xxxxxxxxxxxx
> 

Try this:

grant select on *.* to user@"%" identified by "password"

-- 
Regards,
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Sinisa Milivojevic <sinisa@xxxxxxxxx>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Fulltime Developer
/_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
       <___/   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 <mysql-thread92987@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail <mysql-unsubscribe-treed=ultraviolet.org@xxxxxxxxxxxxxxx>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



This mailing list archive is a service of Copilot Consulting.