Re: Pear DB using Access
| From: | Robin | Date: | Fri, 29 Oct 2004 20:57:19 +0000 |
| Subject: | Re: Pear DB using Access | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15232@lists.php.net to get a copy of this message | ||
Here is what the pear docs say:
Example 26-6. Connecting to MS Access sometimes requires admin as the
user name
odbc(access)://admin@/datasourcename
I saving the FileDSN as Quotes.dsn
http://pear.php.net/manual/en/package.database.db.intro-dsn.php
reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references;
b=mVUHWG95cQ7J/H5rZGHNbVXmZL8y+o6DgV6pllyPj94QEthpkX9UI1nn5LnEBYqU95QWUMfB/TEl0/ru0h/UQQS7/7OMV4LS4v8fSFlFcpRRYhkXqSv/aWp3wDKtTUn2tcgKlmflZy0Bgm9Tqr8d8UB2xatOdZ7dXPbwUxgRBJo=
wrote:
> On Fri, 29 Oct 2004 13:48:36 -0300, Diilbert
> <diilbert.atlantis@gmail.com> wrote:
> > Hi All,
> >
> > I am trying to connect to an Access Database using DB, but I am sure that
> > there is a problem with my DSN string since I keep getting connection
> > failures.
> >
> > Here is the string I am using:
> >
> > odbc(access)://admin@/Quotes
>
> You're not giving a host there. You probably have to put the file or
> something in there.
>
> >
> > Any Ideas ?
> >
> > Thanks,
> >
> > Diilbert.
> >
>
>
>