#23064 [Opn->Bgs]: don't connect to mysql

From: Date: Sun, 06 Apr 2003 11:52:31 +0000
Subject: #23064 [Opn->Bgs]: don't connect to mysql
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37203@lists.php.net to get a copy of this message
ID: 23064 Updated by: sniper@php.net Reported By: jelzio at hotmail dot com -Status: Open +Status: Bogus Bug Type: MySQL related Operating System: linux PHP Version: 4.3.0 New Comment: This is not the correct place to report problems in some 3rd party application written with PHP.. Previous Comments: ------------------------------------------------------------------------ [2003-04-05 15:21:12] jelzio at hotmail dot com ******this is error******** Warning: Wrong parameter count for mysql_connect() in .../class/adodb/drivers/adodb-mysql.inc.php on line 190 *****this is the script that I use ****** include 'class/adodb.php' $db = ADONewConnection('mysql'); /*here*/$db->Connect($db_host, $db_user, $db_password, $db_name) Then I opened to the file adodb-mysql.inc.php to review it and if you see the error happens in 190 line of adodb v3.00 and 211 line in adodb v3.31, as they are equal in both cases only you I show it once. function _connect($argHostname, $argUsername, $argPassword, $argDatabasename) { global $ADODB_PHPVER; if ($ADODB_PHPVER >= 0x4300) $this->_connectionID = mysql_connect($argHostname,$argUsername,$argPassword, /*in this line it happens the error */$this->forceNewConnect,$this->clientFlags); I have PHP 4.3.0 and MySQL 3.23.37 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23064&edit=1

« previous php.bugs (#37203) next »