Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

mysql modules

by anuradha (Initiate)
on Sep 11, 2000 at 08:06 UTC ( [id://31839]=perlquestion: print w/replies, xml ) Need Help??

anuradha has asked for the wisdom of the Perl Monks concerning the following question:

i am a newbie to perl and i had trouble installing the mysql and msql modules for perl. the makefile asks for the location of the mysql directory with a lib directory under it. i can't seem to find this directory anywhere. also, i installed mysql from a binary distribution. since i can't install the libraries, perl can't make use of mysql, right? would be grateful if you could help me on this. thanks in advance.

Replies are listed 'Best First'.
Re: mysql modules
by lhoward (Vicar) on Sep 11, 2000 at 16:13 UTC
    To get DBD::MySQL working you must install the MySQL header files, which do not come in the binary distribution of MySQL. Try installing one of the source distributions to make you sure you get all the header files you need.
Re: mysql modules
by rodry (Beadle) on Sep 11, 2000 at 10:06 UTC
    This may be a dumb question, but when you mentioned MySQL and Msql modules, are you talking about DBI modules? Or there are there simply stand alone APIs as PERL modules that interface specifically with those DBs. If you are talking about DBI modules, then you must install the DBI files first.
Re: mysql modules
by ColtsFoot (Chaplain) on Sep 11, 2000 at 10:20 UTC
    On one of my Redhat 6.2 installations the libraries for mysql
    are located in /usr/lib/mysql these being:-
    libdbug.a libmerge.a libmysqlclient.la libmsys.a libheap.a libmysqlclient.a libmystrings.a libnisam.a
    If you can find these on your system then use this location
    in the Makefile.
    Hope this helps
RE: mysql modules
by t0mas (Priest) on Sep 11, 2000 at 12:42 UTC
    If you're on some flavour of Windows, you could try to use the indigo perl distro, which comes with mysql support precompiled right out of the box (er.... zip that is).

    /brother t0mas

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://31839]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-25 23:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found