[Xerte] Install problem with mysql_connect

Paul Swanson Paul.Swanson at harlandfs.com
Fri Mar 5 16:30:01 GMT 2010


The PHP Manual has tips for configuring PHP with MySQL. It looks like
it's pretty straightforward on a Windows system.

 

http://www.php.net/manual/en/mysql.installation.php

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick
Lockley
Sent: Friday, March 05, 2010 3:04 AM
To: Xerte discussion list
Subject: RE: [Xerte] Install problem with mysql_connect

 

I'm not sure, don't know enough php admin to know how to tell php where
mysql is. Sorry.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Steve
Ricketts
Sent: 05 March 2010 11:03
To: Xerte discussion list
Subject: Re: [Xerte] Install problem with mysql_connect

 

No MySql section in phpinfo.  MySql was already installed so xampp
didn't do the install.  However, the xampp control panel says that MySql
is running.  Seems odd that it knows about it but php doesn't.  I tried
putting a default host, port, etc. in php.ini but no luck.

 

From: Patrick Lockley <mailto:Patrick.Lockley at nottingham.ac.uk>  

Sent: Thursday, March 04, 2010 8:25 PM

To: Xerte discussion list <mailto:xerte at lists.nottingham.ac.uk>  

Subject: RE: [Xerte] Install problem with mysql_connect

 

Well the m in xaMpp is mysql.

 

The xampp install will do a mysql connect and die on that.

 

Does your phpinfo page show a mysql section?

 

________________________________

From: xerte-bounces at lists.nottingham.ac.uk on behalf of Steve Ricketts
Sent: Thu 04/03/2010 23:39
To: Xerte discussion list
Subject: Re: [Xerte] Install problem with mysql_connect

You're right... I put an echo function_exists("mysql_connect"); as the
fist line and it returns nothing.  This was a fresh xampp install and I
already had php installed on IIS.  Wondering if that's confusing things.
I did the "for XAMPP people" link first and get a blank page.  I tried
the full install and that's where I'm seeing this error... should have
said that earlier...

 

sr

 

From: Patrick Lockley <mailto:Patrick.Lockley at nottingham.ac.uk>  

Sent: Thursday, March 04, 2010 6:29 PM

To: Xerte discussion list <mailto:xerte at lists.nottingham.ac.uk>  ;
xerte at lists.nottingham.ac.uk 

Subject: RE: [Xerte] Install problem with mysql_connect

 

there is a function_exists if statement that checks for them. Maybe the
boolean value your system returns isn't what it expects?

 

________________________________

From: xerte-bounces at lists.nottingham.ac.uk on behalf of Steve Ricketts
Sent: Thu 04/03/2010 22:38
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Install problem with mysql_connect

I'm just trying to install Xerte and it's failing with a message about
"Sorry your PHP install lacks the functions mysql_connect and
mysql_query, and without these this installer cannot create the
database." but I use mysql_connect in my php programs now.  Does anyone
know what I can check?

 

Thanks,

 

sr

________________________________

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

________________________________

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20100305/6de93c0b/attachment.html


More information about the Xerte mailing list