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

I have created a simple database using MySQL in linux and wanted to know if i can use CGI scripts to access it from my web page and what commands i should use to do so, or if i need to look at DBI or PHP (of which i have no experience). Thanks.

Replies are listed 'Best First'.
Re: linking to mysql database
by DamnDirtyApe (Curate) on Jul 17, 2002 at 15:21 UTC
Re: linking to mysql database
by broquaint (Abbot) on Jul 17, 2002 at 15:20 UTC
    If you're going to access MySQL from within perl you'll need either DBD::MySQL or Net::MySQL. While the former has a *lot* of support and a mature codebase the latter doesn't require DBI or XS.
    HTH

    _________
    broquaint

Re: linking to mysql database
by fuzzyping (Chaplain) on Jul 17, 2002 at 17:09 UTC