Questions tagged [dbd]

DBD is a common prefix for all perl modules used as database drivers by the DBI module. These drivers hide the internals of different relational database management systems by providing a common API through the DBI module.

Access to relational databases in Perl is usually accomplished by the CPAN DBI module. See also DBI tag wiki entry.

DBI provides a common API for database access that uses separate drivers (DBD::*) internally to handle the specifics of different database management system implementations.

Some of the most popular DBD modules available on CPAN are:

DBD::MySQL
DBD::Oracle
DBD::Pg       (PostgreSQL)
DBD::ODBC
DBD::SQLite
DBD::Informix
DBD::Mock     (for testing purposes) 
DBD::CSV      (limited SQL access for CSV files)
DBD::JDBC
169 questions
-1
votes
2 answers

Problems installing/compiling DBD::mysql on OpenSuSE 10

I am getting a bunch of compile errors when I try to install the MySQL DBD::mysql Perl library. I am trying to install this library on OpenSuse linux (SUSE Linux Enterprise server 10 (x86_64) version 10, patch level 4) The install fails when trying…
Tommy
  • 176
  • 1
  • 2
  • 17
-1
votes
1 answer

Can't locate loadable object for module DBD::Oracle in @INC : Cygwin

I am using cygwin on windows to compile perl modules. I was able to install perl DBI through cpan later I installed DBD , it aslo said successfully installed. cpan[1]> install DBD::Oracle Going to read '/home/e1sched/.cpan/Metadata' Database…
user2319409
  • 49
  • 1
  • 2
  • 3
-2
votes
3 answers

What's the difference between DBD::Pg and DBD::PgPP

What's the difference between the two PostgreSQL perl client implementations DBD::Pg and DBD::PgPP?
Kalle Richter
  • 8,008
  • 26
  • 77
  • 177
-3
votes
2 answers

perl DBI execute doesn't recognize '?'

I have this code: if($update[$entity_id]) { my $sql = "UPDATE cache SET date = '?', value = '?' WHERE item_id = ? AND level = ? AND type = ?;"; } else { my $sql = "INSERT INTO cache (date, value, item_id, level, type) VALUES…
1 2 3
11
12