jacquestvanzuydam / laravel-firebird

Firebird Illuminate package for Laravel 5
63 stars 93 forks source link

I/O error during #49

Closed t0n1zz closed 6 years ago

t0n1zz commented 7 years ago

so i got this error message

PDOException in Connection.php line 90:
SQLSTATE[HY000] [335544344] I/O error during "CreateFile (open)" operation for file "/storage/firebird/DBCUBIS_OPRS.FDB"

when i try to test it with

Route::get('firebird', function()
{
    $users = DB::connection('firebird')->table('user')->get();
    dd($users);
});

and in my connection

'firebird' => [
            'driver'   => 'firebird',
            'host'     => env('DB_HOST_Firebird', 'localhost'),
            'database' => env('DB_DATABASE_Firebird','/storage/firebird/DBCUBIS_OPRS.FDB'),
            'username' => env('DB_USERNAME_Firebird', 'SYSDBA'),
            'password' => env('DB_PASSWORD_Firebird', 'masterkey'),
            'charset'  => env('DB_CHARSET_Firebird', 'UTF8'),
        ],

and i already make sure i never changed any username or password....

note: laravel version: 5.4 php version: 7.0 using XAMPP in windows 10 Pro 64bit

mariuz commented 7 years ago

This is a folder permission error in Windows 10 system , you need to check it also if the path is correct (better to put full path with c:)

t0n1zz commented 7 years ago

oh thank you, i tried full path and it just works like wonder.... thank you for your awesome package

jacquestvanzuydam commented 6 years ago

Marking as resolved.