title: Getting error while connecting laravel with firebase
body: <p>I am working on Laravel 8 and want to connect Firebase with Laravel application.
  I have done all necessary required installation, setup and changes in files (.env, web.php, app.php, etc...) for firebase connection in my application by following the youtube tutorial (link given):</p>
  <p><a href="https://www.youtube.com/watch?v=kCq3tQJi88s&amp;list=PLRheCL1cXHrsiMM3NmWMeEBrO6_XHSt5j&amp;index=2" rel="nofollow noreferrer">https://www.youtube.com/watch?v=kCq3tQJi88s&amp;list=PLRheCL1cXHrsiMM3NmWMeEBrO6_XHSt5j&amp;index=2</a></p>
  <p>Now I am trying to insert data in the firebase database and I get this error:</p>
  <p>SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it (SQL: select count(*) as aggregate from <code>users</code> where <code>email</code> = xyz@gmail.com)</p>
  <p>my question is while I have done all changes according to firebase database connection but still it is trying to connect with MySQL database, why?
  Where I am doing wrong?</p>
  <p>Following I provide code where I did changes according to firebase database.</p>
  <p><strong>.env file:</strong></p>
  <pre><code>DB_CONNECTION=mysql
  DB_HOST=127.0.0.1
  DB_PORT=3306
  DB_DATABASE=myDb
  DB_USERNAME=root
  DB_PASSWORD=
  
  //Here I add these two line
  FIREBASE_CREDENTIALS=&quot;mydb-firebase-adminsdk-z4ckd-a26e5ce8be.json&quot;
  FIREBASE_DATABASE_URL=&quot;https://mydb-default-rtdb.firebaseio.com/&quot;
  </code></pre>
  <p><strong>app.php file:</strong></p>
  <pre><code>         /*
           * Package Service Providers...
           */
  //I add this line in this file:
  Kreait\Laravel\Firebase\ServiceProvider::class,
  </code></pre>