DemT89's avatar

Cannot connect to db after update

Hello,

I updated my Laravel installation using the composer update command and then started a new project I was willing to work on. I decided to use an sqlite database so I changed the driver in database.php and created a database.sqlite file in the appropriate directory as in the Laracasts. I have done this in two other projects prior to the update and it works fine, but in the new project when I run the command php artisan migrate I get: PDOException SQLSTATE[HY000] [2002] Connection Refused. Any ideas what I am doing wrong?

Any help will be deeply appreciated.

0 likes
0 replies

Please or to participate in this conversation.