OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Can't connect to external mysql-db

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Base
View previous topic :: View next topic  
Author Message
angelot
Newbie
Newbie


Joined: 08 Nov 2005
Posts: 4

PostPosted: Mon Jun 19, 2006 1:20 am    Post subject: Can't connect to external mysql-db Reply with quote

I've always been able to connect to my external mysql-db, but when I try todat I only get this message:
Code:
SQL-status: 08S01

Communications link failure due to underlying exception:

** BEGIN NESTED EXCEPTION **

java.net.SocketException
MESSAGE: java.net.ConnectException: Connection refused

STACKTRACE:

java.net.SocketException: java.net.ConnectException: Connection refused
   at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
   at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284)
   at com.mysql.jdbc.Connection.createNewIO(Connection.java:2555)
   at com.mysql.jdbc.Connection.<init>(Connection.java:1485)
   at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)

** END NESTED EXCEPTION **


I have no problem accessing the db from web/phpmyadmin...
_________________
@ngelot
Back to top
View user's profile Send private message
zorgh
Newbie
Newbie


Joined: 25 Jun 2006
Posts: 2

PostPosted: Sun Jun 25, 2006 1:05 pm    Post subject: Reply with quote

Hi

I have the same problem.
Did you find a solution ?

Thx
Back to top
View user's profile Send private message
zorgh
Newbie
Newbie


Joined: 25 Jun 2006
Posts: 2

PostPosted: Sun Jun 25, 2006 11:58 pm    Post subject: Reply with quote

i found the solution in the mysql configuration file :
#bind-address = 127.0.0.1 (comment the line)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Base All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group