Really stupid question but have you installed the mysql client first on the
box? 
The module needs the libraries here to work, they must also be in you paths
(LD_LIBRARY_PATH, PATH) 

-----Original Message-----
From: Jeff Pang [mailto:[EMAIL PROTECTED] 
Sent: 16 August 2007 08:53
To: beginners@perl.org
Subject: Re: problem connecting to mysql database



-----Original Message-----
>From: alok nath <[EMAIL PROTECTED]>
>Sent: Aug 16, 2007 1:25 PM
>To: beginners@perl.org
>Subject: problem connecting to mysql database

> I have installed the mysql.pm, by doing the following :
>  - downloaded the DBD-mysql-4.005.tar and copied the contents of lib to
>    my C:\perl\lib.

>From my experience with DBD::mysql,you can't just download it and copy them
to lib path.
You need to compile them,even when compiling,you need to specify some
arguments like mysql_config path to it.
I don't have experience on installing DBD::mysql on Win,but if you're using
ActiveState,can you use their package manager to install the libs?

--
Jeff Pang <[EMAIL PROTECTED]>
http://home.arcor.de/jeffpang/

--
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/



This e-mail is from the PA Group.  For more information, see
www.thepagroup.com.

This e-mail may contain confidential information.  Only the addressee is
permitted to read, copy, distribute or otherwise use this email or any
attachments.  If you have received it in error, please contact the sender
immediately.  Any opinion expressed in this e-mail is personal to the sender
and may not reflect the opinion of the PA Group.

Any e-mail reply to this address may be subject to interception or
monitoring for operational reasons or for lawful business practices.





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to