title: Restart Mysql by PHP
body: <p>Is it possible to restart MySQL using PHP?</p>
  
  <p>I have a website which need to restart MySQL frequently because it use a lot of ressource. I have saved in this website the code source of a lot of webpage (about 3 000) and when I use my internal search form, he works lowely because there is a lot of informations to analyze, so after a search I need to restart my MySQL server.</p>
  
  <p>Source PHP :</p>
  
  <pre><code>$sql = "SELECT * FROM site WHERE adresse LIKE ? || source LIKE ? ORDER BY ID DESC";
  $requete = $bdd-&gt;prepare($sql);
  $requete-&gt;execute(array("%".$_GET['recherche']."%", "%".$_GET['recherche']."%"));
  </code></pre>
  
  <p>Does <code>exec</code> allow to restart MySQL and how ?</p>