TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [TCLUG:13524] perl DBI question....
> -----Original Message-----
> From: Chris McKinley [SMTP:lamfada@lugh.net]
> Sent: Thursday, February 10, 2000 10:47 AM
> To: 'tclug-list@mn-linux.org'
> Cc: tclug-devel@mn-linux.org
> Subject: Re: [TCLUG:13524] perl DBI question....
>
> Yes you can specify the server in DBI->connect method, the datasource
> includes hostname information, depending on the driver. The mysql DBI
> datasource looks like this:
[Schlough, Mark]
I didn't think that DBI was specific to any database, I thought
that's what DBD:Whatever was for. That's what's confusing. What's
pertinent to DBI and what's for DBD:Whatever...
TIA,
Mark
> DBI:$driver:database=$database;host=$hostname;port=$port
>
> check your DBD::Sybase documentation.
>
> Also, not to nitpick, but this question should go to tclug-devel.
>
> -Chris
>
> On Thu, 10 Feb 2000, Schlough, Mark wrote:
>
> > [Schlough, Mark] Hi,
> >
> > I want to be able to access my Sybase Server (Linux) from my Windows
> machine
> > using perl (ActiveState).
> >
> > Has anybody done this before? Does anybody know how this could be done?
> I
> > can't find anything useful about DBI to be able to state the name of the
> > machine I'm trying to connect to.
> >
> > TIA,
> >
> > Mark
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> > For additional commands, e-mail: tclug-list-help@mn-linux.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org