Menu

#138 Can't load CUBRID Perl DBD driver

open
nobody
None
5
2012-03-29
2012-03-29
Jira Trac
No

After successful installation of DBD::cubrid from CPAN I try to run following Perl script:

##########
use strict;
use warnings;

use DBI;

my $dbh = DBI-connect (DBI:cubrid:database=foobar;host=localhost;port=8001, 'foobar', '1234');
##########

I get following warnings and script hangs:

##########
method name prefix 'cubrid_' is not associated with a registered driver at C:/Pe
rl/site/lib/DBD/cubrid.pm line 68
method name prefix 'cubrid_' is not associated with a registered driver at C:/Pe
rl/site/lib/DBD/cubrid.pm line 69
method name prefix 'cubrid_' is not associated with a registered driver at C:/Pe
rl/site/lib/DBD/cubrid.pm line 70
method name prefix 'cubrid_' is not associated with a registered driver at C:/Pe
rl/site/lib/DBD/cubrid.pm line 71
##########

Thanks in advance and keep up the good work!
Tomasz

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.