Currently, the _constructPdoDsn() for the PDOSqlsrv driver works fine only if the host provided is: local or localhost.
If using an IP address, this breaks. Reason is because _constructPdoDsn() applies ( and ) around the host.
This is fine for when $params['host'] = 'local'; because I believe local is a name pipe (I think) and to properly use it you need to add the brackets around it
However if $params['host'] = '127.0.0.1'; this breaks!
Get rid of the forced brackets
That way, when supplying local as a host, you have to enter (local) (which makes more sense as that's how you would do it normally in other applications).
|Field||Original Value||New Value|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Assignee||Benjamin Eberlei [ beberlei ]||Juozas Kaziukenas [ juokaz ]|
|Fix Version/s||2.0.0-RC1 [ 10094 ]|
|Resolution||Fixed [ 1 ]|
|Workflow||jira [ 11892 ]||jira-feedback2 [ 17664 ]|
|Workflow||jira-feedback2 [ 17664 ]||jira-feedback3 [ 20019 ]|