Problems with Laravel's SQLite file permission

0

I'm having problem with SQLite database startup, when I run the command migrate the error appears so

[PDOException]
SQLSTATE[HY000] [14] unable to open database file

My file .sqlite is located in the storage folder and its name is database.sqlite .

In my configuration file it looks like this:

    'sqlite' => [
        'driver' => 'sqlite',
        'database' => storage_path().'/database.sqlite',
        'prefix' => '',
    ]

I do not know what's going on, apparently everything is normal.

  

MY OPERATIONAL SYSTEM IS WINDOWS

    
asked by anonymous 08.08.2016 / 14:59

1 answer

1

The solution was very simple and to achieve alone. The page where my server was had an accent on is, so when I had to access the system it did not work because the accent is replaced by another character.

As a long-time programmer falls into this bullshit, it's the tip for everyone to be careful about the name we give the projects.

    
08.08.2016 / 20:01