Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2004

    Unanswered: connectivity of MySQL and PHP for Web

    I would like to know which files of Mysql to be placed on the webserver for the database to function with the php files.

    and how would i be checking the database is working properly.


  2. #2
    Join Date
    Mar 2004
    You can't just place some files on the webserver. The entire mysql server and I believe mysql client application have to be installed on the webserver to work.

  3. #3
    Join Date
    Sep 2003
    So. Cal. USA
    Howdy. For example, if you are using Apache as your webserver, you can INSTALL MySQL and enable/install the PHP Apache module. When you install MySQL, you'll have to set a MySQL root password which is different from your computer's root. You should also consider installing phpMyAdmin or other MySQL management utility. All of this is easy or difficult depending upon your OS and experience.

    phpMyAdmin will let you easily connect to your MySQL db's and define fields and tables or you can write a .php script to test a connection ( has a connect script as an example).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts