Mysql Error - Unable To Save Result Set In ...
Posted On Sun Jan 23, 2011 By hostman In MySQL Forums And Topics Discussions About Open Source Database Forums
are you getting this error on you php pages with mysql that says Warning: mysql_query() [function.mysql-query]: Unable to save result set in line xx - well if you want to know what this error means i will try to explain what i was doing when i got this error myself.
so there i was, i was loading some heavy data into mysql database, it was running for a while now. and at the same time, i had started a ssh session on my server. then i accidentally restarted mysql server. as soon as the mysql server was restarted, i saw this error:
Warning: mysql_query() [function.mysql-query]: Unable to save result set in /var/www/counts.php on line 29
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/www/counts.php on line 30
SQL ERROR LINE: 39
Lost connection to MySQL server during query
so basically, you are probably getting this error message also because the connection to your mysql was lost. did you powered off your server? did you lose power? did it crashed?
you might want to ping your server to see if its running, if it is, try restarting your server, this is the command i used to restart my database server:
hope that helps
so there i was, i was loading some heavy data into mysql database, it was running for a while now. and at the same time, i had started a ssh session on my server. then i accidentally restarted mysql server. as soon as the mysql server was restarted, i saw this error:
Warning: mysql_query() [function.mysql-query]: Unable to save result set in /var/www/counts.php on line 29
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/www/counts.php on line 30
SQL ERROR LINE: 39
Lost connection to MySQL server during query
so basically, you are probably getting this error message also because the connection to your mysql was lost. did you powered off your server? did you lose power? did it crashed?
you might want to ping your server to see if its running, if it is, try restarting your server, this is the command i used to restart my database server:
/etc/init.d/mysqld restart
hope that helps
Related Content
Information
Forums »
MySQL Forums And Topics Discussions About Open Source Database »
Mysql Error - Unable To Save Result Set In ...
MySQL Forums And Topics Discussions About Open Source Database »
Mysql Error - Unable To Save Result Set In ...
Title: Mysql Error - Unable To Save Result Set In ...
Description: are you getting this error on you php pages with mysql that says Warning: mysql_query() [function.mysql-query]: Unable to save result set in line xx - well if you want to know what this error means i will try to explain what i was doing when i got this er
Tags: mysql ,error ,unable ,to ,save ,result ,set ,in ,
Info: This Post Has Been Viewed 0 Times Since
Date: Sun Jan 23, 2011
Author hostman Received 0 Replies #923
Date: Sun Jan 23, 2011
Author hostman Received 0 Replies #923
Share
URL: 

Embed: 

To embed this topic, just copy the code from the "Embed" box. Once you've copied the code, just paste it into your website or blog to embed it
BBCODE:: 

BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums
wallpaperama | Wallpapers | Forums | Terms Of Service
copyright © 2013 wallpaperama - All Rights Reserved - Last Updated Mon May 06, 2013 (-8 GMT)
Powered by: Webune Forums V5
copyright © 2013 wallpaperama - All Rights Reserved - Last Updated Mon May 06, 2013 (-8 GMT)
Powered by: Webune Forums V5