cannot connect to mysql under debian

Questions and answers for all installation-related topics for Servoy products

cannot connect to mysql under debian

Postby kml » Mon May 31, 2004 3:11 pm

I am trying to connect to mysql under debian but with no luck. I can connect to the database just fine directly through mysql or through perl, but when I attempt an auto server setup under servoy, I get the following error:

DBCP borrowObject failed: java.sql.SQLException: Unable to connect to any hosts due to exception: java.net.ConnectException: Connection refused

** BEGIN NESTED EXCEPTION **

java.net.ConnectException
MESSAGE: Connection refused

STACKTRACE:

java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
...

Any thoughts?
kml
 
Posts: 1
Joined: Mon May 31, 2004 3:06 pm

Postby Jan Aleman » Mon May 31, 2004 9:11 pm

Perhaps mysql is running on a different port? Are you pointing to the right server? Did you configure mysql to accept connections from that user? If mysql is on a different box than the Servoy Developer by default mysql will not allow connections and you have to grant access to that user@that ip.
Jan Aleman
Servoy
Jan Aleman
 
Posts: 2083
Joined: Wed Apr 23, 2003 9:49 pm
Location: Planet Earth


Return to Installation

Who is online

Users browsing this forum: No registered users and 24 guests

cron