Mailing List Archive



Back to the month index Back to the list index

Steve Rogers (steve@blast.com)
Tue, 24 Sep 1996 10:06:17 +0000


Message-Id: <3247B299.D3655B2@blast.com>
Date: Tue, 24 Sep 1996 10:06:17 +0000
From: Steve Rogers <steve@blast.com>
Subject: Re: [mSQL] Apatche html serve adn bash shell scripts

David Hamm wrote:
>
> It seems that no mater what I do I can't make msql run from a "bash" cgi-bin script.
> I've created a form that calls a shell scrip when the "submit" button is clicked and
> msql never seems to run. Even if I just have msql on a line by it self I don't get any
> errors. The shell scipt is below.
>
> #!/bin/sh
> echo "Content-type text/plain"
> echo
> echo Begin
> msql
> echo End
>
> I'm using Linux 2.x kernel and Apatche html server. Any Ideas?
>
> Thanks
>
> David
>

Is it possible that msql is spitting out a usage message on standard error since
there is no database specified? What happens if you specify a database to use?

Good luck,

Steve Rogers
--------------------------------------------------------------------------
To remove yourself from the Mini SQL mailing list send a message containing
"unsubscribe" to "unsubscribe" to msql-list-request@bunyip.com. Send a message containing
"info msql-list" to majordomo@bunyip.com for info on monthly archives of
the list. For more help, mail owner-msql-list@bunyip.com NOT the msql-list!