title: SQLSTATE[HY000]: General error: 2053 update/delete
body: <p>I ran into a very strange error: I am using laravel 4 and locally everything works fine. On my remote Server things are different though. I get a </p>
  
  <pre><code>SQLSTATE[HY000]: General error: 2053
  </code></pre>
  
  <p>error on UPDATE and DELETE queries. The strange thing is, that even though the error screen prints out the query, it has still run and for example updated the values. </p>
  
  <p>Can anybody give me a hint on why this error might occur? I'm stuck!</p>
  
  <p>Here's my query:</p>
  
  <pre><code>$insert = DB::connection('mysql')-&gt;select("UPDATE shops set sector_id = '".$input['sector']."', category_id = '".$input['category']."', date_online = '".$input['date_online']."', date_signed = '".$input['date_signed']."', potential_sales = '".$potentialsales."', shop_system = '".$input['shopsytem']."' WHERE id = '".$input['id']."'");
  </code></pre>