Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DBD::mysql::dr::imp_data_size unexpectedly

114 views
Skip to first unread message

Vicky

unread,
Jun 14, 2004, 9:17:09 AM6/14/04
to dbi-...@perl.org
I built my package comprising Perl, DBI-1.42,
msql-mysql on linux and tried to use on another
machine. I am getting the following error and the
script is not able to connect to the database. Anyone
has any idea as to what is going wrong here ?

Had to create DBD::mysql::dr::imp_data_size
unexpectedly at
lib/perl5/site_perl/5.6.2/i686-linux/DBI.pm line 1061.
Had to create DBD::mysql::db::imp_data_size
unexpectedly at
lib/perl5/site_perl/5.6.2/i686-linux/DBI.pm line 1061.

TIA for any help regarding the same




__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/

josh white

unread,
Jun 18, 2004, 4:50:46 AM6/18/04
to
vicky,

I had a similar problem with DBD::ODBC, along with numerous other
errors. i managed to clear up the "imp_data_size" error by using the
following method. a word of warning though - due to other unresolved
errors, i havent done a complete install - i just know that doing what
ive done below will get rid of the imp_data_size error warnings. if
this is the only error you receive when installing, and my method
below resolves the problem, please post back confirming this.

1. open up the lib/perl5/site_perl/5.6.2/i686-linux/DBI.pm file in a
text editor
2. navigate to line 1061. if your text editor doesn't have a line
count facility, then search for the line which contains the text
"imp_data_size"
insert the following code into the file immediately above line 1061


$DBD::mysql::db::imp_data_size = 0;
$DBD::mysql::db::imp_data_size = 0;
$DBD::mysql::dr::imp_data_size = 0;
$DBD::mysql::dr::imp_data_size = 0;

save the file and re-run "make test"

good luck!

syzgy_...@yahoo.com (Vicky) wrote in message news:<2004061413170...@web12703.mail.yahoo.com>...

0 new messages