odbc icon indicating copy to clipboard operation
odbc copied to clipboard

driver not found

Open jasonspick opened this issue 8 years ago • 8 comments

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??

jasonspick avatar Feb 15 '16 18:02 jasonspick

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

reno1979 avatar Oct 07 '16 10:10 reno1979

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

rafwell avatar Oct 07 '16 13:10 rafwell

im have the same problem :/

surgiie avatar Dec 02 '16 20:12 surgiie

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

jacksonrnunes avatar Oct 31 '17 22:10 jacksonrnunes

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

rafwell avatar Nov 01 '17 11:11 rafwell

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. =)

jacksonrnunes avatar Nov 01 '17 13:11 jacksonrnunes

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.

rafwell avatar Nov 01 '17 14:11 rafwell

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

jacksonrnunes avatar Nov 01 '17 16:11 jacksonrnunes