<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: aleeshapjohn</title>
    <description>The latest articles on Forem by aleeshapjohn (@aleeshapjohn).</description>
    <link>https://forem.com/aleeshapjohn</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F121640%2F35f6e43d-4093-4cc6-a032-1987a30dcc30.png</url>
      <title>Forem: aleeshapjohn</title>
      <link>https://forem.com/aleeshapjohn</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/aleeshapjohn"/>
    <language>en</language>
    <item>
      <title>SQLSTATE[HY000] [2002] Connection refused</title>
      <dc:creator>aleeshapjohn</dc:creator>
      <pubDate>Wed, 26 Dec 2018 07:29:40 +0000</pubDate>
      <link>https://forem.com/aleeshapjohn/sqlstatehy000-2002-connection-refused-4lm2</link>
      <guid>https://forem.com/aleeshapjohn/sqlstatehy000-2002-connection-refused-4lm2</guid>
      <description>&lt;p&gt;Hi, I am using xampp server to run my php laravel application. I used the command 'php artisan migrate' for migration and I am getting this error:&lt;/p&gt;

&lt;p&gt;: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = testing and table_name = migrations)&lt;/p&gt;

&lt;p&gt;My env file has been modified like this:&lt;br&gt;
DB_CONNECTION=mysql&lt;br&gt;
DB_HOST=127.0.0.1&lt;br&gt;
DB_PORT=3306&lt;br&gt;
DB_DATABASE=testing&lt;br&gt;
DB_USERNAME=root&lt;br&gt;
DB_PASSWORD=&lt;/p&gt;

&lt;p&gt;where 'testing' is my db name.&lt;br&gt;
I tried many methods and I cross verified my db credentials too. &lt;br&gt;
I need help in this&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>xampp</category>
      <category>mysql</category>
    </item>
  </channel>
</rss>
