Martin Kersten wrote:
Niels Nes wrote:
On Tue, Feb 05, 2008 at 02:30:21PM +0100, Michael wrote:
Hi folks,
I just installed MonetDB.
what platform? what version?
I am on Windows XP, latest MonetDB 5
I tried to run the simplest examples and failed. :-( The MAL Reference does not semm really helpful though to me.
what console are you using?
Tried mclient.exe and the jdbc client.
On linux consider the following session trace:
prompt> mserver5 # MonetDB server v5.3.0, based on kernel v1.21.0 # Serving database 'demo' # Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically linked # Copyright (c) 1993-2007 CWI, all rights reserved # Visit http://monetdb.cwi.nl/ for further information #warning: please don't forget to set your vault key! #(see /ufs/mk/monet5//Linux/etc/monetdb5.conf) # Listening for connection requests on mapi:monetdb://127.0.0.1:50000/
io.print("hello world"); [ "hello world" ]
The sample above works flawlessly in the server console. Talking MAL through the mclient worked too. But sending io.print("hello"); with JDBC resulted in: Database connect failed: InvalidCredentialsException:checkCredentials:Invalid cr edentials for user 'monetdb' C:\Programme\CWI\MonetDB5\share\MonetDB\lib>java -jar jdbcclient.jar -umonetdb - lmal password: Welcome to the MonetDB interactive JDBC terminal! Type \q to quit, \h for a list of available commands auto commit mode: on monetdb-> io.print("hello"); Error: TypeException:user.main[1]:'ioo.print' undefined in: _1:any := ioo.print( _2:str) monetdb-> -- <NO> OOXML - Say NO To Microsoft Office broken standard http://www.noooxml.org