From: Ernie Date: 2003-02-20T01:51:50+09:00 Subject: Re: How does one connect to a remote database using dbi? Thanks for your help. I have dbi and postgresql up and running and have accessed both remote and local data bases, successfully done queries, inserts, updates, and transactions. Thanks for all the help. By the way dbi rocks. Ernie "Gabriel Emerson" wrote in message news:pan.2003.02.17.23.58.47.718188@io.com... > connection = DBI.connect('dbi:Pg:dbname=foo;host=foo.bar.com;port=5432', > 'someuser', 'somepassword) > > On Mon, 17 Feb 2003 18:27:16 -0500, Ernie wrote: > > > I've looked at the examples and I can connect to a local data base. What > > is the syntax for connecting to a remote database using dbi and > > postgresql? > > > > Thanks > > Ernie >