Updated connection string to pass port

Also added namespacing for PDO exception
![selfie-1](http://i.imgur.com/XDhmDLv.png)