ID: 11765 Comment by: julien_riel at hotmail dot com Reported By: root at byone dot com Status: Bogus Bug Type: MySQL related Operating System: redhat-6.2 PHP Version: 4.0.6 New Comment:
When you have message: "Unable to save result set error 127" May be your table is corrupt Use the SQL command "CHECK TABLE table_name" to see if everything is Ok on your table. I got this error after I shutdown Windows unproprely (scandisk started). Seems I lost all my data! Make some backups! Hope this help Previous Comments: ------------------------------------------------------------------------ [2001-11-20 19:26:08] [EMAIL PROTECTED] Bogusified in favour of #12029. Please only respond to #12029! Bogus ------------------------------------------------------------------------ [2001-07-03 21:37:52] root at byone dot com I upgraded to mysql-3.23.39 and recompiled php-4.0.6 but nothing changed. ------------------------------------------------------------------------ [2001-06-28 21:25:12] root at byone dot com BTW : This error occur on ALL OF my scripts after I had upgraded my php from 4.0.3 to 4.0.6 ------------------------------------------------------------------------ [2001-06-28 21:21:26] root at byone dot com Yes I use Use mysql_query() / mysql_select_db() instead of mysql_db_query(). Both mysql_errno() and mysql_error() return NOTHING. The query was successful exectued by mysql.(I can find the query reselt in mysql database) But why php generated an error? ------------------------------------------------------------------------ [2001-06-28 13:16:05] [EMAIL PROTECTED] Try adding this lines after each mysql function: echo mysql_errno().": ".mysql_error()."<BR>"; This way you should get the reason why it doesn't work. And FYI: Use mysql_query() / mysql_select_db() instead of mysql_db_query(). --Jani ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/11765 -- Edit this bug report at http://bugs.php.net/?id=11765&edit=1