[ic] DBI/DBD

JOHN WRONG interchange-users@icdevgroup.org
Wed Dec 4 16:52:00 2002


I have the same problem!
I was trying to installl IC 4.9.4 on a test machine! So I 
installed all the perl modules thats needed by IC. But when I 
run IC there were connection problems with Mysql cuz of 
DBD::MySql .. missing PM and missing functions in PM! Didn't 
know what was going on and still have no idea. But I went to 
mysql.com and dnloaded the perl modules from their dnload page. 
They have the DBI module and Msql-Mysql-modules. I didn't see 
any DBD::mysql modules. So I dnloaded Msql-Mysql-modules and 
install it! Everything worked fine after I installed that 
module. : \

I am on solaris 2.8

Question, is Msql-Mysql-modules the same as DBD::Mysql?
On my other machine I installed Msql-Mysql-modules but never 
installed DBD::Mysql. When I wrote 

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

The output was "all good".




---- On Wed, 04 Dec 2002, Joshua Lavin 
(joshua@kingdomdesign.com) wrote:

> > My sysadmin re-installed Perl and both DBI & DBD modules 
successfully.
> > We've also created a mysql database and can connect to it 
as the root user
> > ok from the command prompt.  But when we restart the ic 
server we get an
> > error message saying that the Required Perl module DBD not 
present...Line 2
> > of the configuration file.  Any ideas?
> 
> Your problem is with perl.
> 
> You can test for modules being found with a simple perl 
script:
> 
> #!/usr/bin/perl -w
> use DBD::mysql
> print "all good\n";
> 
> If not, then the directory containing the DBD module is not 
in your INC
> array. You need your sysadmin to either add it to the INC 
array or your
> login environment.
> 
> For example, mine is set in my 'rc' file:
> 
PERL5LIB="/usr/home/kingdomd/usr/local/lib/perl5:/usr/home/kingd
omd/usr/loca
> l/lib/perl5/site_perl"
> 
> But that's on a virtual server.
> 
> Hope this helps,
> Josh
> _______________________________________________
> interchange-users mailing list
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
> 
> 


________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag