[Mono-list] nsqlcli

Colin JN Breame colin@breame.com
Sat, 08 Jan 2005 17:08:59 +0000


This is a multi-part message in MIME format.
--------------020105000703000809050202
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Chris Aitken wrote:

>>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.
>>    
>>
>
>Thanks Colin, it did the trick:
>chrisa@persephone:~/ASPNET/nsqlcli-0.1a$ mono nsqlcli.exe -t postgresql -e
>"SERVER=192.168.0.5" -d chrisa -u chrisa \
> -p ****** -m auto
>nsqlcli 0.1a: SQL Command Line Interface.
>Copyright (C) 2004 Colin JN Breame (colin@breame.com).
>
>Connecting...established.
>Metadata has not been implemented for database type.
>Please see db_meta.cs line 71.
>Type 'help' for more information.
>  
>
>>list tables
>>    
>>
>nsqlcli: Metadata is not available for database type or has been disabled
>(with -m).
>nsqlcli: Quit and type `nsqlcli --help' for more information.
>  
>
>
>I tried it with -m postgresql, and got the same metadat too.
>
>HTH
>
>Chris
>
>
>  
>

Glad to see it worked.  I'll made another release sometime to fix this 
problem (so you won't need the -e).

As for the metadata, it's currently not implemented for postgresql.

 -- Colin

--------------020105000703000809050202
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Chris Aitken wrote:<br>
<blockquote cite="midE1Cmury-0006at-00@basilisk.ion-dreams.com"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">
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.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Thanks Colin, it did the trick:
<a class="moz-txt-link-abbreviated" href="mailto:chrisa@persephone:~/ASPNET/nsqlcli-0.1a$">chrisa@persephone:~/ASPNET/nsqlcli-0.1a$</a> mono nsqlcli.exe -t postgresql -e
"SERVER=192.168.0.5" -d chrisa -u chrisa \
 -p ****** -m auto
nsqlcli 0.1a: SQL Command Line Interface.
Copyright (C) 2004 Colin JN Breame (<a class="moz-txt-link-abbreviated" href="mailto:colin@breame.com">colin@breame.com</a>).

Connecting...established.
Metadata has not been implemented for database type.
Please see db_meta.cs line 71.
Type 'help' for more information.
  </pre>
  <blockquote type="cite">
    <pre wrap="">list tables
    </pre>
  </blockquote>
  <pre wrap=""><!---->nsqlcli: Metadata is not available for database type or has been disabled
(with -m).
nsqlcli: Quit and type `nsqlcli --help' for more information.
  </pre>
  <pre wrap=""><!---->
I tried it with -m postgresql, and got the same metadat too.

HTH

Chris


  </pre>
</blockquote>
<br>
Glad to see it worked.&nbsp; I'll made another release sometime to fix this
problem (so you won't need the -e).<br>
<br>
As for the metadata, it's currently not implemented for postgresql.<br>
<br>
&nbsp;-- Colin<br>
</body>
</html>

--------------020105000703000809050202--