Bug #11015 Updated: Warning: MySQL: Unable to save result set in
| From: | sniper@php.net | Date: | Tue, 22 May 2001 15:25:10 +0000 |
| Subject: | Bug #11015 Updated: Warning: MySQL: Unable to save result set in | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56284@lists.php.net to get a copy of this message | ||
ID: 11015
Updated by: sniper
Reported By: iplount@comcity.com
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] iplount@comcity.com
$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