ID: 11015
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: MySQL related
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
Check where the unix socket is pointing
'/path/to/mysql_config --socket'
and try adding that to php.ini:
mysql.default_socket=/path/to/socket
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-05-22 08:54:12] [EMAIL PROTECTED]
$SQLStmt = CreateSQLArray();
$numElements = Count($SQLStmt);
//dies here when trying to make the link
$link = mysql_connect($host, $user, $password);
//other mysql functions seem to work fine at times
for($x = 0; $x < $numElements; $x++){
mysql_db_query($dbname, $SQLStmt[$x], $link);
if(mysql_error($link) != ""){
$SQLErrors[] = mysql_error($link);
}
}
/*
I have included the absolute path to my mysql install directory during configuration
and I continue to get this error. I have compiled and recompiled mysql, apache, and
php I don't know how many times. This is very frustrating as I have succesfully
installed previous version of all with minor problems compared to this.
*/
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11015&edit=2
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]