[MonetDB-users] newbie question, Debian install, can't connect
downloaded the super tarball, installed from the top-level shell script, all seemed ok. mserver5 starts, io.print("test"); works as expected. but when I try to connect with mjclient i get: matt@debian5150:/root/MonetDB/bin$ ./mjclient -umonetdb -lsql password: Database connect failed: MALException:setScenario:Scenario 'sql' not initialized what am i doing wrong? thanks for the help in advance. matt ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The Preacher Said: "Oh Lord, without you we are but dust!" And the Child Said: "What's butt dust?" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AOL & Yahoo IM: stuckym44 MSN Messenger: stuckym4 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Matt Stucky wrote:
downloaded the super tarball, installed from the top-level shell script, all seemed ok.
mserver5 starts, io.print("test"); works as expected.
but when I try to connect with mjclient i get:
matt@debian5150:/root/MonetDB/bin$ ./mjclient -umonetdb -lsql password:
Database connect failed: MALException:setScenario:Scenario 'sql' not initialized
what am i doing wrong? you forgot to include the sql module. just do include sql;
And try again to connect the mjclient. Regards, Romulo
thanks for the help in advance.
matt
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The Preacher Said: "Oh Lord, without you we are but dust!" And the Child Said: "What's butt dust?"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AOL & Yahoo IM: stuckym44 MSN Messenger: stuckym4
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
ah, you mean send it in to the server after it's started, like this: debian5150:~/MonetDB/bin# ./mserver5 # MonetDB Server v5.0.0_beta1_2 # Copyright (c) 1993-2007 CWI, all rights reserved # Compiled for i686-pc-linux-gnu/32bit with 32bit OIDs dynamically linked # dbname:demo # Visit http://monetdb.cwi.nl/ for further information #warning: please don't forget to set your vault key! #(see /root/MonetDB/etc/monetdb5.conf)
include sql;
yep, works great now! thanks
matt
--- Romulo Goncalves
Matt Stucky wrote:
downloaded the super tarball, installed from the top-level shell script, all seemed ok.
mserver5 starts, io.print("test"); works as expected.
but when I try to connect with mjclient i get:
matt@debian5150:/root/MonetDB/bin$ ./mjclient -umonetdb -lsql password:
Database connect failed: MALException:setScenario:Scenario 'sql' not initialized
what am i doing wrong? you forgot to include the sql module. just do include sql;
And try again to connect the mjclient.
Regards, Romulo
thanks for the help in advance.
matt
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The Preacher Said: "Oh Lord, without you we are but dust!" And the Child Said: "What's butt dust?"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AOL & Yahoo IM: stuckym44 MSN Messenger: stuckym4
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monetdb-users
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The Preacher Said: "Oh Lord, without you we are but dust!" And the Child Said: "What's butt dust?" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AOL & Yahoo IM: stuckym44 MSN Messenger: stuckym4 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
You can also do it on the command line: mserver5 --dbinit='include sql;' Matt Stucky wrote:
ah, you mean send it in to the server after it's started, like this:
debian5150:~/MonetDB/bin# ./mserver5 # MonetDB Server v5.0.0_beta1_2 # Copyright (c) 1993-2007 CWI, all rights reserved # Compiled for i686-pc-linux-gnu/32bit with 32bit OIDs dynamically linked # dbname:demo # Visit http://monetdb.cwi.nl/ for further information #warning: please don't forget to set your vault key! #(see /root/MonetDB/etc/monetdb5.conf)
include sql;
yep, works great now! thanks
matt
--- Romulo Goncalves
wrote: Matt Stucky wrote:
downloaded the super tarball, installed from the top-level shell script, all seemed ok.
mserver5 starts, io.print("test"); works as expected. but when I try to connect with mjclient i get:
matt@debian5150:/root/MonetDB/bin$ ./mjclient -umonetdb -lsql password:
Database connect failed: MALException:setScenario:Scenario 'sql' not initialized
what am i doing wrong? you forgot to include the sql module. just do include sql;
And try again to connect the mjclient.
Regards, Romulo
thanks for the help in advance.
matt
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The Preacher Said: "Oh Lord, without you we are but dust!" And the Child Said: "What's butt dust?"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AOL & Yahoo IM: stuckym44 MSN Messenger: stuckym4
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The Preacher Said: "Oh Lord, without you we are but dust!" And the Child Said: "What's butt dust?"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AOL & Yahoo IM: stuckym44 MSN Messenger: stuckym4
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- Sjoerd Mullender
participants (3)
-
Matt Stucky
-
Romulo Goncalves
-
Sjoerd Mullender