PHP and MySQL

Neben Kabon yellowdog-general@lists.terrasoftsolutions.com
Thu Jun 12 14:58:00 2003


No. When I view the source, the code stops at the point at which the db
connection should occur.

Even the html closing tags following the php script does not output.

If I try to do something else like phpinfo(); that works O.K. but not if
I try connecting to the database.


On Thu, 2003-06-12 at 16:45, Michael George wrote:
> Are you getting any error messages from the webserver when you try to 
> connect?  You might have to do a "View Page Source" to find them....
> 
> On Thursday, June 12, 2003, at 04:28  PM, Neben Kabon wrote:
> > I am having difficulty connecting to MySQL from PHP using the .php and
> > .sql files that I originally created and were working OK on my Red Hat
> > 7.3 machine.
> >
> > When I tried transferring them to YDL 3.0 and after creating the MySQL
> > database from the .sql files, my php scripts appear to die at the point
> > of making connection and I am getting no response at that point.
> >
> > I have been able to create a MySQL database from my .sql files O.K and
> > can view the database OK in mysql.
> >
> > I am working from a standard desktop installation of YDL 3.0 with MySQL
> > and web servers added.
> >
> > How can I tell if php is configured correctly to work with mysql?
> >
> > PHP does appear to be working, just not connecting to MySQL.
> 
> -Michael
> 
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general