title: MYSQL Max row limit
body: <p>I'm stuck on mysql query which doesn't want to get result more than ~2800 rows (more or less).</p>
  
  <p>I get connected to the db remotely:</p>
  
  <pre><code>$bdd = new PDO('mysql://myserver;port=3306;dbname=mydb;charset=utf8', 'my_user', 'my_pass',
              array(
                  PDO::ATTR_TIMEOUT =&gt; "100",
                  PDO::ATTR_ERRMODE =&gt; PDO::ERRMODE_EXCEPTION,
                  PDO::ATTR_EMULATE_PREPARES =&gt; true
              )); 
          ini_set('mysql.connect_timeout', 30);
          ini_set('default_socket_timeout', 30);
          ini_set('max_execution_time', 30);
  </code></pre>
  
  <p>Here is what the query looks like :</p>
  
  <pre><code>$result = $bdd-&gt;query("SELECT * FROM CONTACT WHERE name LIKE 'whatever' OR phone LIKE 'whatever2' OR phone LIKE 'whatever3'... ");
  </code></pre>
  
  <p>I got results untill the ~2800 row, it means the query get stopped at the 2800 row then doesn't care of the rest of the row even if they match the query.</p>
  
  <p>Please help, THANK YOU SO MUCH!</p>