Bingo! I just assumed I could use the same syntax at the dbish DSN
prompt. But it works fine if I use that syntax when invoking dbish.
thanks
--Curt
On Thu, 29 Mar 2001, Michael Peppler wrote:
> Curt Russell Crandall writes:
> > Hi,
> >
> > I'm having problems opening a db connection to Sybase using dbish. The
> > perldoc says to use the syntax:
> >
> > dbi:Sybase:server=X [user [password]]
>
> That's on the command line. I looked at the code for DBI::Shell and I
> don't see anyway of entering the user interactively, unless it's part
> of the DSN, and DBD::Sybase doesn't understand that (yet).
>
> Maybe I'll add user=foo and password=bar logic to the DSN part of
> connect() for DBD::Sybase.
>
> At the moment you can also set the DBI_USER environment variable
> before running the script.
>
> Michael
> --
> Michael Peppler - Data Migrations Inc. - [EMAIL PROTECTED]
> http://www.mbay.net/~mpeppler - [EMAIL PROTECTED]
> International Sybase User Group - http://www.isug.com
> Sybase on Linux mailing list: [EMAIL PROTECTED]
>