title: Illuminate\Database\QueryException : SQLSTATE[HY000] [2002] Connection refused default character set utf8mb4 collate utf8mb4_unicode_ci
body: <p>I have a problem with artisan and the migrations. </p>
  
  <p>I just created a new project, copy-paste my database using <code>Laravel Schema Design</code>, put the <code>schemaLenght</code> into my <code>config/database.php</code> file. Then I made the php artisan migrate and I got this error:</p>
  
  <blockquote>
    <p>SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = table_atelier and table_name = migrations).</p>
  </blockquote>
  
  <p>So, I would like to know, what is the problem?</p>
  
  <p>I think, maybe it's the new version of MAMP, I upgrad it. Or, maybe, the php version (I have the <code>7.1.12</code> or the <code>7.2.1</code>).</p>