title: Laravel Homestead- MySQL default credentials and database
body: <p>I have setup Laravel and trying to run the <code>artisan migrate</code> command however I am getting the error below</p>
  <blockquote>
  <p>[PDOException] SQLSTATE[HY000] [2002] Connection refused.</p>
  </blockquote>
  <p>I am not sure how db is setup in Homestead. So I got the below questions.</p>
  <ol>
  <li>Is default database created automatically by artisan migrate or Homestead?</li>
  <li>If it is, what is the name of it?</li>
  <li>If its not created by default, should we create before running migration?</li>
  </ol>
  <p>I tried logging in to MySQL db by connecting to Homestead VM using ssh and then running MySQL. However I get error <code>Access denied for user....</code> for user name vagrant, Homestead and forge.</p>
  <p>What is the default credentials?
  I understand that creating MySQL db is out of the scope of Laravel tutorial; So it would be helpful if anyone can answer these questions and point me in right direction.</p>