realestateconz / MssqlBundle

Symfony 2 Microsoft SQL Server Bundle
37 stars 63 forks source link

Freetds (Dblib) bad DSN #14

Open lashus opened 9 years ago

lashus commented 9 years ago

Hello,

There is an error during constructing PDO DSN string for DBLIB under linux. The "port:" fragment is incorrect, according to the documentation the string should look like:

dblib:host=$localhost:$port;dbname=$testdb

Your script constructs it like:

dblib:host=$localhost;port=$port;dbname=$testdb

oliver-realestate commented 9 years ago

Hi, if you can create a pull request I'm happy to merge it.

lashus commented 9 years ago

Sure thing will do. But this will be my first pull request. Check if its fine :)

Wyslano z telefonu, przepraszam za ewentualne błędy i zwięzłość wypowiedzi.

Message sent via phone. Im sorry for any mistakes.

Z pozdrowieniami / Best regards, Adrian Górny 21 lip 2015 00:43 "Oliver Kastler" notifications@github.com napisał(a):

Hi, if you can create a pull request I'm happy to merge it.

— Reply to this email directly or view it on GitHub https://github.com/realestateconz/MssqlBundle/issues/14#issuecomment-123078010 .