[MonetDB-users] How can I execute SQL via mclient directly?
Hi guys, I'm pretty new for Monetdb, As per the introduce of the online document, I have to type the password on the command line window when I want to execute SQL via the mclient program. It there a way like this which can be used in Mysql: "mysql --user --password databasename -e SQL" in monetdb? I didn't found the argument that can used for the "password" in mclient. Thanks, Tony
On 29-01-2012 16:47:46 +0800, bai dongli wrote:
Hi guys,
I'm pretty new for Monetdb, As per the introduce of the online document, I have to type the password on the command line window when I want to execute SQL via the mclient program. It there a way like this which can be used in Mysql: "mysql --user --password databasename -e SQL" in monetdb? I didn't found the argument that can used for the "password" in mclient.
http://www.monetdb.org/Documentation/mclient-man-page See the section on DOTMONETDBFILE under DESCRIPTION.
In addition:
I found this command at following url, However it's doesn't worked for me.
http://monetdb-xquery.org/SQL/QuickTour/VOC/index.html
shell> mclient -lsql -uvoc -Pvoc < voc_dump.sql
2012/1/29 bai dongli
Hi guys,
I'm pretty new for Monetdb, As per the introduce of the online document, I have to type the password on the command line window when I want to execute SQL via the mclient program. It there a way like this which can be used in Mysql: "mysql --user --password databasename -e SQL" in monetdb? I didn't found the argument that can used for the "password" in mclient.
Thanks, Tony
On 29-01-2012 17:28:08 +0800, bai dongli wrote:
In addition:
I found this command at following url, However it's doesn't worked for me.
Thanks for noticing. That antiquated copy of the old website should be brought down ASAP.
Great! Thanks so much!
2012/1/29 bai dongli
In addition:
I found this command at following url, However it's doesn't worked for me. http://monetdb-xquery.org/SQL/QuickTour/VOC/index.html
shell> mclient -lsql -uvoc -Pvoc < voc_dump.sql
2012/1/29 bai dongli
Hi guys,
I'm pretty new for Monetdb, As per the introduce of the online document, I have to type the password on the command line window when I want to execute SQL via the mclient program. It there a way like this which can be used in Mysql: "mysql --user --password databasename -e SQL" in monetdb? I didn't found the argument that can used for the "password" in mclient.
Thanks, Tony
participants (2)
-
bai dongli
-
Fabian Groffen