3 years ago

sqlite pdoexception connection refused

Posted 3 years ago by dboyd

hello, following the Laravel From Scratch No.13 authenticate your users laracast i followed the instructions, laravel new some-project, php artisan make:auth, touch database/database.sqlite and default database connection set to sqlite, so far so good. after trying, php artisan migrate.. i get the following error...
[PDOException] SQLSTATE[HY000] [2002] Connection refused, checking phpinfo i have the pdo driver for sqlite3 enabled i've been googling this issue for quite some time but can't find any decent information on sqlite :( i was hoping i could make the migrations via homestead like i do when using mysql but unfortunately i'm just getting nothing to migrate(this would be really handy if possible), any helpfull advice appreciated thanks.

Please sign in or create an account to participate in this conversation.