[ic] DBI/DBD

Webmaster interchange-users@icdevgroup.org
Tue Jan 28 12:08:00 2003


ok, that worked in that the test for DBI now says, "all good".  I was using
"use DBI::mysql" just like the DBD test and I changed it to only say "use
DBI".  But when I restart IC I still get the "can't resolve symbol..."
message.  I'll search the archives.  If you think of anything let me know.
thanks,
colt

----- Original Message -----
From: "Joshua Lavin" <joshua@kingdomdesign.com>
To: <interchange-users@icdevgroup.org>
Sent: Tuesday, January 28, 2003 11:46 AM
Subject: 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
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>