
On Oct 3, 2006, at 10:32 AM, Fabian Groffen wrote:
On 03-10-2006 10:27:29 +0200, Ronald Oussoren wrote:
Hi,
I finally have time to work on porting our app to monetdb again and am immediately running into a problem: I can't get MonetSQLdb to work properly :-(
I've started an Mserver process:
$ Mserver --dbinit="module(sql_server); sql_server_start();"
This works correcty, I can connect to it using the MapiClient binary and do SQL queries. However, this python code fails:
import MonetSQLdb c = MonetSQLdb.connect()
It says:
!ERROR mapi_reconnect: connect: Connection refused
What version of MonetDB are you using? As far as I know, MonetDB should listen to port 50000 for all languages these days. One reason for your connection refuse can be that you connect to the hostname of your computer, instead of localhost (127.0.0.1). By default the server only listens on the local loopback interface.
The machine I was testing on is running 4.10.3 and is definitely listening on port 45123 and only that. I'll upgrade to the latest version (daily snapshot of the release branch) to check if that changes things. Ronald