bencarter78 / odbc

MIT License
24 stars 17 forks source link

driver not found #4

Open jasonspick opened 8 years ago

jasonspick commented 8 years ago

I am getting a driver not found error. I've done some research and from what I can tell, php pdo for odbc comes pre configured. So why am I getting this error??

reno1979 commented 7 years ago

In Laravel 5.3 I encountered problems (Driver not Found) with this plugin. This plugin extends the available database drivers and should therefor be called right after the line

Illuminate\Database\DatabaseServiceProvider::class,

in config/app.php

rafwell commented 7 years ago

have extension=php_pdo_odbc.dll in your php.ini?

surgiie commented 7 years ago

im have the same problem :/

jacksonrnunes commented 6 years ago

Im have the same problem in laravel 5.2.45... Solutions?

rafwell commented 6 years ago

make sure you have the php-odbc extension installed. on php_info you need see PDO Drivers => mysql, odbc, sqlite .... (odbc must be here)

jacksonrnunes commented 6 years ago

Im fix the problem. It was not PDO. I did not update on the composer. Im newbie to laravel and composer, and did not know I needed to do update after installing a new package. I could put this in the documentation for the newbies ones myself. =)

rafwell commented 6 years ago

You need change composer.json to add a new dependencie, in this case, bencarter78/odbc. After this, you need run composer update to recheck the dependencies and download the new package.

jacksonrnunes commented 6 years ago

Yes! I discovered this as looking at installing other packages ... Thank´s!