[Mono-list] nsqlcli

Colin JN Breame colin@breame.com
Fri, 07 Jan 2005 13:13:01 +0000


Chris Aitken wrote:

>I have tried:
>
>chrisa@persephone:~/ASPNET/nsqlcli-0.1a$ mono nsqlcli.exe -t postgresql -h
>192.168.0.5 -d chrisa -u chrisa -p ****** -m postgresql --stdin
>nsqlcli 0.1a: SQL Command Line Interface.
>Copyright (C) 2004 Colin JN Breame (colin@breame.com).
>
>Connecting...
>nsqlcli: Connection string argument missing!
>Parameter name: SERVER
>nsqlcli: Connection string:
>Address=192.168.0.5;Database=chrisa;UID=chrisa;PWD=<censored>
>nsqlcli: Could not open connection.
>  
>
I've never tested on postgresql and wasn't too sure about the connection 
string to use.

Please try:

$ mono nsqlcli.exe -t postgresql -e "SERVER=192.168.0.5" -d chrisa -u 
chrisa -p ******

I'm not sure, but I think that this might work.

 -- Colin