RE: problem connecting to mysql database



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:pangj@xxxxxxxxxxxxx]
Sent: 16 August 2007 08:53
To: beginners@xxxxxxxx
Subject: Re: problem connecting to mysql database



-----Original Message-----
From: alok nath <aloknathlight@xxxxxxxxx>
Sent: Aug 16, 2007 1:25 PM
To: beginners@xxxxxxxx
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 <pangj@xxxxxxxxxxxxx>
http://home.arcor.de/jeffpang/

--
To unsubscribe, e-mail: beginners-unsubscribe@xxxxxxxx For additional
commands, e-mail: beginners-help@xxxxxxxx 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.




.



Relevant Pages

  • Re: permissions dilemma
    ... On Apr 29, 2006, at 2:07 PM, Gerard Seibert wrote: ... informed that the screen saver daemon wasn't running. ... I tried installing MySQL twice, each time with the same problem. ...
    (freebsd-questions)
  • Re: permissions dilemma
    ... immediately on start up with permission to create/write it's .pid ... informed that the screen saver daemon wasn't running. ... I tried installing MySQL twice, each time with the same problem. ...
    (freebsd-questions)
  • Re: permissions dilemma
    ... immediately on start up with permission to create/write it's .pid file ... informed that the screen saver daemon wasn't running. ... I tried installing MySQL twice, each time with the same problem. ...
    (freebsd-questions)
  • Re: MySQL permission
    ... > you after installing the initial database you would not have this problem. ... I just gave the command "sudo yum install mysql-server". ... on my MySQL server, and have not had any problems on that score. ...
    (comp.os.linux.misc)
  • Re: permissions dilemma
    ... immediately on start up with permission to create/write it's .pid ... informed that the screen saver daemon wasn't running. ... I tried installing MySQL twice, each time with the same problem. ...
    (freebsd-questions)