Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: PGSQL / DBI

by sutch (Curate)
on Mar 19, 2001 at 08:25 UTC ( #65359=note: print w/replies, xml ) Need Help??


in reply to Re: PGSQL / DBI
in thread PGSQL / DBI

Try getting rid of the trailing semicolon. psql doesn't like it.

I create DBI database handles like so:

my $data_source = "dbi:Pg:dbname=links"; my $dbh = DBI->connect( $data_source, $username, $password );

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://65359]
help
Chatterbox?
and !@monks...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2017-09-23 16:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (272 votes). Check out past polls.

    Notices?