title: PDO Execute Statement Times Out
body: <p>I am having quite some trouble and am unable to find the source of the problem but I cannot send a simple update to my sqlite3 database which simply times out and doesn't do anything. It said thirty seconds at first but then I changed it to 5 minutes and it still wouldn't do anything to query through a simple 1 rowed sqlite table.</p>
  
  <pre><code>  if (isset($_POST['apply']))
      {
      try {
      $bio = $_POST['bio'];
          $file_db = new PDO('sqlite:Secure/data.sqlite');
          // Set errormode to exceptions
          //$file_db-&gt;exec("SET CHARACTER SET utf8"); 
          $file_db-&gt;setAttribute(PDO::ATTR_ERRMODE, 
                              PDO::ERRMODE_EXCEPTION);
          //
          echo("$bio $name");
  
          $sql = "UPDATE `users`
          SET `profile` = :bio
          WHERE `name` = :name
          ";
          echo("2");
          $statement = $file_db-&gt;prepare($sql);
          echo("3");
           $statement-&gt;bindValue(":bio", $bio);
           echo("4");
          $statement-&gt;bindValue(":name", $name);
          echo("5");
          $statement-&gt;execute();
          echo("6");
  
  
            $file_db = null;        // Disconnect
  }
  catch(PDOException $e) {
    echo $e-&gt;getMessage();
  }
          //$statement-&gt;bindValue(":profile", $profile);
          //$statement-&gt;execute();
  
      }
  </code></pre>