title: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `posts`)
body: <p>Getting this error in laravel when I try to get data from database <code>(Post::all())</code>. Migration works well​ it creates table columns but this isn't working.</p>