ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Using MySQL from PHP
Subject:   trouble getting PHP5 to connect to SQL database
Date:   2005-04-10 23:23:31
From:   jtomsovic
I am new to PHP and MySQL. I am using windows
XP OS. I have installed the Apache server, MySQL and PHP5. When I run "localhost" it shows that the apache sever is running. I can run a test which shows that PHP and Apache work together. I have SQL running and I can create databases, etc uing the command prompt or the MySQL Admin program.
But I cannot get PHP5 to connect to the databases. What am I doing wrong? Help is very much appreciated.


Below are the paths to the various programs
C:\Program Files\Apache Group\Apache2>
C:\Program Files\MySQL\MySQL Server 4.1\bin\mysql.exe
C:\PHP5>


1 to 3 of 3
1 to 3 of 3