cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aristedes Maniatis <...@ish.com.au>
Subject Re: Mysql and usernames
Date Mon, 21 Apr 2008 01:51:57 GMT

On 21/04/2008, at 10:47 AM, Kevin Menard wrote:
> It's been a while since I've used MySQL, but I think "%" is just a  
> wildcard meaning "any host."  Cayenne doesn't send the host  
> along . . . MySQL figures that part out when it receives the  
> connection.  You need to set up your own DNS appropriately.  Check  
> the MySQL logs to see what hostname MySQL thinks is being used.

Also important is that a user defined as user@% does not get used for  
a connection from user@localhost. For some reason localhost is treated  
separately from all other hosts and needs to be defined explicitly.

Ari


-------------------------->
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001   fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A



Mime
View raw message