----- Message d'origine ----
De : Fabian Groffen <Fabian.Groffen@cwi.nl>
À : monetdb-developers@lists.sourceforge.net
Envoyé le : Mercredi, 10 Septembre 2008, 7h55mn 38s
Objet : Re: [Monetdb-developers] ODBC, no database selected
Hi Sylver,
On 09-09-2008 16:56:47 -0700, sylver_b wrote:
[snip]
> my $dbh = DBI-> connect('dbi:ODBC:DSN_MonetDB', 'monetdb', 'monetdb',
> {database => demo}) or die ($DBI::errstr . "\n");
My perl is pretty much non-existant. However, it looks as
if you *do*
specify that you want to use a database, "demo" in this case.
> This the merovingian output :
> tail -f /root/MonetDB/var/log/merovingian.log
> MSG demo[11229]: # MonetDB server v5.6.0, based on kernel v1.24.0
> MSG demo[11229]: # Serving database 'demo'
> MSG demo[11229]: # Compiled for i686-pc-linux-gnu/32bit with 32bit OIDs
> dynamically linked
> MSG demo[11229]: # Copyright (c) 1993-2008 CWI, all rights reserved
> MSG demo[11229]: # Visit
http://monetdb.cwi.nl/ for further information
> MSG demo[11229]: # Listening for connection requests on mapi:monetdb://
> ulys:50001/
> ERR merovingian[11224]: client error: no database specified
> MSG merovingian[11224]: database 'demo' already running since
> 2008-09-10 00:17:32, up min/avg/max: 30/2181/7036, crash average: 0.00
> 0.00 0.00
(6-5=0)
> MSG merovingian[11224]: proxying client 127.0.0.1:59244 for database
> 'demo' to mapi:monetdb://ulys:50001/
> MSG merovingian[11224]: client has 127.0.0.1:59244 disconnected from
> proxy
>
> ERR merovingian[11224]: client error: no database specified
Merovingian here sees no database requested. The other successful calls
in this log snippet are from mclient or something?
> I also tried with PHP odbc, same result - how to specify the DB right
> from the script ?
Weird. Maybe the odbc driver doesn't catch up the database argument
(yet).
Sjoerd, any idea on this one?
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open
Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
Monetdb-developers mailing list
Monetdb-developers@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/monetdb-developers