Navigation Menu

Skip to content
yuki-kimoto edited this page Sep 11, 2012 · 1 revision

Connect to DB2

DBIx::Custom Documents >

Connect to DB2 by connect method.

my $dbi = DBIx::Custom->connect(
  dsn => "dbi:DB2:db_name",
  user => $username,
  password => $password
);

Set dsn to data source name. Return value is DBIx::Custom object.

Clone this wiki locally