[MonetDB-users] Mapiclient password prompt
I use the Mclient in conjunction with XQuery. When I do a CVS checkout, I get the version of Mapiclient where the -P option has disappeared, yet it still asks me for a password. My question is: how do I disable the password prompt? It is a bit too much to enter the password for thousands of queries, although I can type quite quickly. ;-) junte
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Op 20-06-10 20:39, jz@uva schreef:
I use the Mclient in conjunction with XQuery. When I do a CVS checkout, I get the version of Mapiclient where the -P option has disappeared, yet it still asks me for a password.
My question is: how do I disable the password prompt?
It is a bit too much to enter the password for thousands of queries, although I can type quite quickly. ;-)
Under Linux you can make a file: ~/.monetdb user=monetdb password=monetdb language=sql save_history=true Probably you can set the language=xquery too :) Stefan -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEAREKAAYFAkweYRUACgkQYH1+F2Rqwn2e4gCfVf+DVZpAAd2kKF9RH7e0UeWG Iq8AniPXHmfYGbTh837D7pnloLfCyx6+ =YlpW -----END PGP SIGNATURE-----
On Sun, Jun 20, 2010 at 08:39:04PM +0200, jz@uva wrote:
I use the Mclient in conjunction with XQuery. When I do a CVS checkout, I get the version of Mapiclient where the -P option has disappeared, yet it still asks me for a password.
Not that is make a difference for this issue, but you might have missed that the MonetDB code repository moved from sourceforge CVS to our own Mercurial (hg) repository hosted by MonetDB.org; cf., http://dev.monetdb.org/hg/MonetDB ... unfortunately, SourceForge appears to be completely unreachable right now (one reason for us to leave SF), so I cannot even point you to the news and mailing list postings that announced the move ...
My question is: how do I disable the password prompt?
`man mclient` (admittedly not available on Windows) says among others " Before mclient starts parsing command line options, it reads a .monetdb file. If the environment variable DOTMONETDBFILE is set, it reads the file pointed to by that variable. When unset, mclient searches for a .monetdb file in the current working directory, and if that doesn’t exist, in the current user’s home directory. This file can contain defaults for the flags user, password and language. For example, an entry in a .monetdb file that sets the default language for mclient to sql looks like this: language=sql. To disable reading the .monetdb file, set the variable DOTMONETDBFILE to the empty string in the environment. " Stefan
It is a bit too much to enter the password for thousands of queries, although I can type quite quickly. ;-)
junte
------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4199 |
On Sun, Jun 20, 2010 at 8:57 PM, Stefan Manegold
Not that is make a difference for this issue, but you might have missed that the MonetDB code repository moved from sourceforge CVS to our own Mercurial (hg) repository hosted by MonetDB.org; cf., http://dev.monetdb.org/hg/MonetDB
... unfortunately, SourceForge appears to be completely unreachable right now (one reason for us to leave SF), so I cannot even point you to the news and mailing list postings that announced the move ...
I understand, thanks. So the "Developer MonetDB All-In-One Script" (http://monetdb.cwi.nl/Download/Packages/index.html) is no longer up to date?
My question is: how do I disable the password prompt?
`man mclient` (admittedly not available on Windows) says among others
OK! junte
" Before mclient starts parsing command line options, it reads a .monetdb file. If the environment variable DOTMONETDBFILE is set, it reads the file pointed to by that variable. When unset, mclient searches for a .monetdb file in the current working directory, and if that doesn’t exist, in the current user’s home directory. This file can contain defaults for the flags user, password and language. For example, an entry in a .monetdb file that sets the default language for mclient to sql looks like this: language=sql. To disable reading the .monetdb file, set the variable DOTMONETDBFILE to the empty string in the environment. "
Stefan
It is a bit too much to enter the password for thousands of queries, although I can type quite quickly. ;-)
junte
------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4199 |
------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
On Sun, Jun 20, 2010 at 10:33:24PM +0200, jz@uva wrote:
On Sun, Jun 20, 2010 at 8:57 PM, Stefan Manegold
wrote: Not that is make a difference for this issue, but you might have missed that the MonetDB code repository moved from sourceforge CVS to our own Mercurial (hg) repository hosted by MonetDB.org; cf., http://dev.monetdb.org/hg/MonetDB
... unfortunately, SourceForge appears to be completely unreachable right now (one reason for us to leave SF), so I cannot even point you to the news and mailing list postings that announced the move ...
I understand, thanks. So the "Developer MonetDB All-In-One Script" (http://monetdb.cwi.nl/Download/Packages/index.html) is no longer up to date?
That is still up to date --- it is part of the official release of MonetDB. Only the development source went from CVS to Mercurial. I just pointed you to that change since you mentioned CVS, not released super source ball. Stefan
My question is: how do I disable the password prompt?
`man mclient` (admittedly not available on Windows) says among others
OK!
junte
" Before mclient starts parsing command line options, it reads a .monetdb file. If the environment variable DOTMONETDBFILE is set, it reads the file pointed to by that variable. When unset, mclient searches for a .monetdb file in the current working directory, and if that doesn’t exist, in the current user’s home directory. This file can contain defaults for the flags user, password and language. For example, an entry in a .monetdb file that sets the default language for mclient to sql looks like this: language=sql. To disable reading the .monetdb file, set the variable DOTMONETDBFILE to the empty string in the environment. "
Stefan
It is a bit too much to enter the password for thousands of queries, although I can type quite quickly. ;-)
junte
------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4199 |
------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4199 |
participants (3)
-
jz@uva
-
Stefan de Konink
-
Stefan Manegold