PDO issue in Laravel 4 when using an artisan command -
i trying build artisan command connect remote mssql server, retrieve records , store them in local mysql db.
the query performing db::connection('sqlsrv')->select('select * users')
if use above in blade view, works. if use in artisan command, error [pdoexception] not find driver
any appreciated
Comments
Post a Comment