[Monetdb-developers] mapi_mapi default user...

Fabian Groffen Fabian.Groffen at cwi.nl
Fri Jan 19 11:33:04 CET 2007


On 19-01-2007 11:29:10 +0100, Romulo Goncalves wrote:
> Dear developers,
> 
> I was reading some mapi code and I found the following code:
> 
> if (username == NULL)
>                  username = "guest";
>          if (mid->username != NULL) free(mid->username);
>          mid->username = strdup(username);
> 
>          if (password == NULL)
>                  password = "guest";
>          if (mid->password) free(mid->password);
>          mid->password = strdup(password);
> 
> In this moment the default user and password is monetdb and not guest.
> Can I change it or there is a special reason for this?

Change into what?  monetdb is an administrator/system account and we
don't want to play Windows, do we?  So we shouldn't default to that,
IMO.

> Second,
> If the host address starts with '/' the port is ignored, why?

UNIX sockets, they don't have a port, as they are special files in the
filesystem.




More information about the developers-list mailing list