db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Dudziak <to...@first.fhg.de>
Subject Re: [OT] MySql and JDBC under Linux
Date Thu, 24 Jun 2004 18:14:04 GMT
Jakob Braeuchi wrote:

> hi thomas,
> 
> it works now. i had to substitute localhost by 127.0.0.1
> 
> jdbc:mysql://127.0.0.1:3306/ojb
> 
> another strange thing is that i cannot use the machines real ip-addr to 
> connect. it has to be 127.0.0.1

This is probably because you did not grant rights to users from other 
ip's. Here's the doc that explains it in more detail:

http://dev.mysql.com/doc/mysql/en/Connection_access.html

However, I have no idea why localhost does not work where 127.0.0.1 
works. Sounds like a little problem with the network setup ? Does 
localhost work in other contexts, e.g. for Apache, Tomcat or similar ?

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message