title: I have a problem with migration as I am new to Laravel. I have tried everything described on here with no success
body: <p>I am new to Laravel. I have MAMP and Xampp 7.3.0 installed on my MacOS Mojave but currently using Xampp on port 80 with MySQL port reconfigured to 33060 as phpmyadmin wasn't working. 
  I have a problem with "php artisan migrate" as the following error displays each time I am trying to migrate:</p>
  
  <p>SQLSTATE[HY000] [2002] No such file or directory (SQL: </p>
  
  <pre><code>select * from information_schema.tables where table_schema = land
    on_app and table_name = migrations
  </code></pre>
  
  <p>)</p>
  
  <p>I have tried to search online, adopted the suggested solutions by contributors but none seems to work for me. I have tried to install MySQL 8.0.13, but I encountered caching_sha2_password which prompted me to uninstall it and installed MySQL5.7 with a displayed version message "<strong>mysql  Ver 14.14 Distrib 5.7.24, for osx10.14 (x86_64) using  EditLine wrapper</strong>"
  However, I decided to copy the folder to httdoc and reconfigured my .env. </p>
  
  <pre><code>DB_CONNECTION=mysql
  DB_HOST=localhost
  DB_PORT=33060
  DB_DATABASE=landon_app
  DB_USERNAME=root
  DB_PASSWORD=
  </code></pre>
  
  <p>database.php</p>
  
  <pre><code>'mysql' =&gt; [
              'driver' =&gt; 'mysql',
              'host' =&gt; env('DB_HOST', '127.0.0.1'),
              'port' =&gt; env('DB_PORT', '33060'),
              'database' =&gt; env('DB_DATABASE', 'landon_app'),
              'username' =&gt; env('DB_USERNAME', 'root'),
              'password' =&gt; env('DB_PASSWORD', ''),
              'unix_socket' =&gt; env('DB_SOCKET', ''),
              'charset' =&gt; 'utf8mb4',
              'collation' =&gt; 'utf8mb4_unicode_ci',
              'prefix' =&gt; '',
              'strict' =&gt; true,
              'engine' =&gt; null,
  
  
          ],
  </code></pre>
  
  <p>AppServiceProvider </p>
  
  <pre><code>&lt;?php
  
  namespace App\Providers;
  
  use Illuminate\Support\ServiceProvider;
  use Illuminate\Support\Facades\Schema; //This must be added 
  
  
  class AppServiceProvider extends ServiceProvider
  {
      /**
       * Bootstrap any application services.
       *
       * @return void
       */
      public function boot()
      {
          //
          Schema::defaultStringLength(191); //This must be added to allow connection to the database
      }
  
      /**
       * Register any application services.
       *
       * @return void
       */
      public function register()
      {
          //
      }
  }
  </code></pre>
  
  <p>The error I receive each time I try to migrate:</p>