If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > connectivity of MySQL and PHP for Web

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-17-04, 05:33
Khaliq99 Khaliq99 is offline
Registered User
 
Join Date: Jun 2004
Posts: 7
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.

Thanks
Reply With Quote
  #2 (permalink)  
Old 09-17-04, 12:43
guelphdad guelphdad is offline
Registered User
 
Join Date: Mar 2004
Posts: 440
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.
Reply With Quote
  #3 (permalink)  
Old 09-21-04, 16:29
Steve T. Steve T. is offline
Registered User
 
Join Date: Sep 2003
Location: So. Cal. USA
Posts: 142
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 (www.php.net has a connect script as an example).
--ST
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On