[opencms-dev] Opencms 6.04 - Strange observation: Mysql access trouble with 'localhost', but not with 127.0.0.1

Claus Priisholm cpr at codedroids.com
Sun Feb 5 23:57:08 CET 2006


This seems to be a SuSE 9.x/MySQL JDBC problem. It is not related to 
OpenCms per say. Just use 127.0.0.1 for the database connection URL, 
works great.

Christian Steinert wrote:
> Hello Christoph
> 
> Sorry for posting my initial message twice. I had some trouble with 
> getting into the list
> 
> You wrote:
>>
>> localhost should resolve to 127.0.0.1 (/etc/hosts)
>>   
> Well, it does resolve.
> 
> My /etc/hosts says (among other stuff)
>    127.0.0.1<tab>localhost
> 
> And I can ping myself without problem and my local firefox knows 
> perfectly well, what localhost is, as it can find my local tomcat under 
> localhost:8080.
> But anyway - it's not that important, unless it could easily happen to 
> someone else.
> 
> Regards
> C.
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
> 

-- 
Claus Priisholm, CodeDroids ApS
Phone: +45 48 22 46 46
cpr (you know what) codedroids.com - http://www.codedroids.com
cpr (you know what) interlet.dk - http://www.interlet.dk
--
Javadocs and other OpenCms stuff: 
http://www.codedroids.com/community/opencms



More information about the opencms-dev mailing list