Bass-Fighter has asked for the wisdom of the Perl Monks concerning the following question:
this piece of my code doesn't work... who knows in what I must change this to get it work? because I can't see it...
I am getting every time the same error...use DBI; my$dbh = DBI->connect("DBI:Pg:dbname='five'; port=5432", user=postgres +,{ RaiseError => 1, AutoCommit => 0 }) or die "kon de database niet openen!";
this database has no password, so that isn't the problem ;)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: connect database
by ikegami (Patriarch) on Jan 08, 2009 at 12:56 UTC | |
by Bass-Fighter (Beadle) on Jan 08, 2009 at 13:06 UTC | |
by ikegami (Patriarch) on Jan 08, 2009 at 13:09 UTC | |
by Bass-Fighter (Beadle) on Jan 08, 2009 at 13:15 UTC | |
|
Re: connect database
by marto (Cardinal) on Jan 08, 2009 at 13:01 UTC | |
by Bass-Fighter (Beadle) on Jan 08, 2009 at 13:16 UTC | |
|
Re: connect database
by JavaFan (Canon) on Jan 08, 2009 at 12:46 UTC | |
by Bass-Fighter (Beadle) on Jan 08, 2009 at 12:54 UTC | |
by JavaFan (Canon) on Jan 08, 2009 at 18:49 UTC |