I am getting the following error when trying to connect locally to a Postgres database 
on Red Hat Linux 8. I have confirmed the database "testdb" exists and I can query it 
using an sql program. Below is three lines of code. I have used similar code to 
connect to an Informix database. Has anyone seen this error before and what does this 
error mean?

DBI->connect(testdb) failed: missing "=" after "testdb" in connection info string

use DBI;
my $data_source="DBI:Pg:testdb";
my $dbh = DBI->connect($data_source,$user,$password);



Dan Swanson
System Admin / Programmer
George Fox University

Dan Swanson
Programmer / Analyst / System Admin
George Fox University
503.554.2576

Reply via email to