title: SQLSTATE[28000] [1045] : Strange PDO error after server provider crash
body: <p>After a crash server, we have a strange error with our database...</p>
  
  <p>Password and user is correct, we use a simple PDO connect : </p>
  
  <pre><code>session_start();
  ini_set('display_errors', 1);
  ini_set('log_errors', 1);
  try
  {
      $bdd = new PDO('mysql:host=localhost;dbname=databaseName', 'correctUSER','correctPassword');
      die('ok');
  }
  catch(Exception $e)`enter code here`
  {
      die('Erreur : '.$e-&gt;getMessage());
  }
  </code></pre>
  
  <p>But we have a : "Error : SQLSTATE[28000] [1045] Access denied for user 'correctUSER'@'localhost' (using password: YES)" ??</p>
  
  <p>We try to delete, recreate database and user but we have always the problem, the strange thing is that if we try we the root user => it works but it's not safe to use the root password...</p>
  
  <p>Anyone have a solution ??</p>
  
  <p>Thanks !</p>