title: I got an error during database migration in laravel9
body: <pre><code>      catch (Exception $e) {
           throw new QueryException(
                 $query, $this-&gt;prepareBindings($bindings), $e
             );
         }
       }
  </code></pre>
  <p>1   C:\wamp64\www\laravelProject\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70<br />
  PDOException::(&quot;SQLSTATE[HY000] [2002] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
  &quot;)</p>
  <p>2   C:\wamp64\www\laravelProject\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70<br />
  PDO::__construct(&quot;mysql:host=127.0.0.1;port=3308;dbname=laravelproject&quot;, &quot;root&quot;, &quot;&quot;, [])</p>