pr0fess0r
December 11th, 2005, 06:40 AM
Hi all
I'm trying to setup a connection to a Hypersonic SQL database on Ubuntu Linux.
I've installed HSQLDB-BER from http://sourceforge.net/projects/hsqldb-ber/ and the server seems to start OK, but I get this error running the sample.pl script:
DBI connect('hostname=localhost:9111;url=ber:hsqldb:pl ay','sa',...) failed: Failed to open socket to server: IO::Socket::INET: connect: Connection refused at sample.pl line 27
Failed to connect: (104) Failed to open socket to server: IO::Socket::INET: connect: Connection refused
The line of code is:
$dsn = "dbi:JDBC:hostname=localhost:9111;url=ber:hsqldb:pl ay";
What can cause the IO::Socket::INET: error, and can you suggest ways to debug it?
many thanks in advance
I'm trying to setup a connection to a Hypersonic SQL database on Ubuntu Linux.
I've installed HSQLDB-BER from http://sourceforge.net/projects/hsqldb-ber/ and the server seems to start OK, but I get this error running the sample.pl script:
DBI connect('hostname=localhost:9111;url=ber:hsqldb:pl ay','sa',...) failed: Failed to open socket to server: IO::Socket::INET: connect: Connection refused at sample.pl line 27
Failed to connect: (104) Failed to open socket to server: IO::Socket::INET: connect: Connection refused
The line of code is:
$dsn = "dbi:JDBC:hostname=localhost:9111;url=ber:hsqldb:pl ay";
What can cause the IO::Socket::INET: error, and can you suggest ways to debug it?
many thanks in advance