I am trying to connect an SQL server from an Ubuntu machine, everythings works great except for named instances:
this works
\'data\' =&g
I finally found a solution, there were two problems :
So I finally used a combination of FreeTDS DSN with laravel in order to connect the SQL named instance server.
The /etc/freetds.conf DSN configuration:
[NAMED_INSTANCE]
host = 127.0.0.1
port = 55021
And in the laravel database adapter:
'webcmd' => array(
'driver' => 'sqlsrv',
'host' => 'NAMED_INSTANCE',
'database' => 'db',
'username' => 'usr',
'password' => 'pwd',
'prefix' => '',
),
And that solved my problem, hope it'll help someone too