[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] DBI/DBD


I used your simple perl script below to test for DBD and I got the "all
good" message; however, when I configure one of my dabases to use mysql and
restart IC I get the following message:  Using MySQL,
DSN=dbi:mysql:iscl...perl: can't resolve symbol 'mysql_init'

Should your test script also work for DBI? I changed DBD to DBI and reran
and got an error message.  I also checked the INC array then then looked
into the perl system directories listed in INC and found directories for
both DBD & DBI, so it appears my sysadmin did install DBI. But like I said
earlier, I still get the above message when I restart IC.  Any ideas?

!/usr/bin/perl -w
use DBD::mysql
print "all good\n";

The script will work for any module, but you have to use the right one. DBI is just "use DBI".

I'm not familiar with that error message, but you might check the archives (if the test for DBI works and you still get it).

Regards,
Josh

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.