Loading...
 
Skip to main content

Architecture / Installation


Re: "Warning: Wrong parameter count for mysql_connect() in /var/www/tiki/lib/adodb/drivers/adodb-mys

Okay, bad form: I'm responding to my own post.
The problem may be version-related, but I don't know what to look for. The error is in the ADODB database-extraction file "adodb-mysql.inc.php"; I print out the parameters and the fourth ($this->forceNewConnect) shows up as an empty string ('') when I try to print it out using ADOConnection:outp(). If I force the value to TRUE or to FALSE, there's no change in the error.

adodb-mysql.inc.php is V4.55 (updated 3 Jan 2005).

If I try commenting out the last two parameters in the call to _connect in adodb-mysql.inc.php (i.e. just leaving host, user, password) I get a segmentation fault in the child reported by apache (error.log) which I presume is the php process.

I am running php 4.3.10-2; Apache 1.3.3; mysql reports "Ver 11.16 Distrib 3.23.49, for pc-linux-gnu (i686)"

Can someone advise what I might need to change/back out?

Thanks!
Tom