[PDOException]SQLSTATE[HY000] [14] unable to open database file
-
i face to this error in laravel with working by laragon .
please help me fox.
-
@Henryway: Which database system are you using? (SQLite I guess)
-
yes i am using data base
how can i know that sqlite is installed in laragon?
i use npm install sqlite in terminal . it install but didnt work
-
There is a tutorial about using Laragon + Laravel + SQLite created by CoffeeTimeCode. You can check it here:
-
thanks i understand what was my problem.
write for others
in .env file in laravel we should remove ::
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=database
DB_USERNAME=homesteadjust write
DB_CONNECTION=sqlitebest regards