see if php5-pdo is installed
'default' => 'sqlsrv',
and
'sqlsrv' => array(
'driver' => 'sqlsrv',
'host' => 'localhost',
'database' => 'database',
'username' => 'root',
'password' => '',
'prefix' => '',
),
yep php5-pdo installed...
zypper se PDO
Loading repository data... Reading installed packages...
S | Name | Summary | Type --+---------------------------------+-----------------------------+-------- i | php5-pdo | PHP5 Extension Module | package
and database config
'hr' => array( 'driver' => 'sqlsrv', 'host' => 'XXX.XXX.XXX.XXX', 'database' => '', 'username' => '', 'password' => '********', 'prefix' => '', ),
but page shows...
PDOException could not find driver
trying a brand new server at moment
update i can confirm freeTDS is working using tsql and also unixOBDC using isql ...
ok i win at last using laravel 4.1 and https://github.com/ccovey/odbc-driver... but now have issue with 3rd party db using spaces in field names aaaarrrrggghhh....
close this
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community