I have sqlite database file with this feature:
I have
database.sqllite
fileThis database encrypted with key (I have the key)
I work with
Laravel 5.4
How can I decrypt and connect to this database file?
this is my code
\Config::set('database.connections.sqlite.database', $sqlitePath);
/**
* create a connection to SQLite Database
*/
$databasae = \DB::connection('sqlite');
and I got this error
Illuminate\Database\QueryException: SQLSTATE[HY000]: General error: 26 file is encrypted or is not a database