MySQL Forums
Forum List  »  Quality Assurance

Re: Did you see "Got error -1 from storage engine"?
Posted by: Karel Dytrych
Date: April 11, 2013 04:25AM

Well, I din't solve it... I'm waiting for 5.6.11 as my SysAdmin said that it would help..


This is my temporary solution (PHP):


// regular query
$this->result[$r] = mysql_query($sql, $this->connection);


// if we have error
if(!$this->result[$r])
{
// if this error is storage engine
if( mysql_error() == "Got error -1 from storage engine" )
{
// better to wait a while..
sleep(2);
// here i never got error again...
$this->result[$r] = mysql_query($sql, $this->connection);
...

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Did you see "Got error -1 from storage engine"?
2021
April 11, 2013 04:25AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.