title: My query didn't return any result
body: <p>I have a select query on table and the result is more then 15000 lines, when i execute it with pdo, it didn't return any result</p>
  
  <p>Is there any solution to return the result with my script.</p>
  
  <p>NB : in <code>phpMyAdmin</code>, the query return the desired result</p>
  
  <pre><code>$dbh = new PDO('mysql:host=localhost;dbname="namedb";charset=utf8', 'root', '');
  $sth = $dbh-&gt;prepare("select * from table");
  $sth-&gt;execute();
  var_dump($data = $sth-&gt;fetchAll());
  </code></pre>