in reply to Re: How to use perl CGI programs with mysql server?
in thread How to use perl CGI programs with mysql server?


Hi Marto

Many many thanks for your reply. Can i use Mysql server instead of Apache server? If yes then how? Because my requirement is to use the Mysql server with the CGI script. plz suggest.

regd's
Sanjay
  • Comment on Re^2: How to use perl CGI programs with mysql server?

Replies are listed 'Best First'.
Re^3: How to use perl CGI programs with mysql server?
by marto (Cardinal) on Oct 29, 2008 at 10:08 UTC

    MySQL is a database product, not a webserver. If you want a webpage to interact with a database at some point you are going to need Webserver software, like Apache.

    So, to answer your question, no, you will need MySQL server to run your database, and Apache to serve your webpages (generated via your CGI connected to MySQL).

    Hope this helps

    Martin

Re^3: How to use perl CGI programs with mysql server?
by cdarke (Prior) on Oct 29, 2008 at 10:28 UTC
    Not sure what platform you are on, but it looks like you are just starting out so I suggest a simple package like XAMPP (apachefriends). Its insecure, but is easy to setup and run to get started and play. It includes Apache, mysql and Perl (and some other language called PHP). There are other similar packages about.