Another issue I had connecting was changing the account used to connect to the DB.
By default I believe the account user is td_db_admin or some such. I found that using any other account seemed to cause issues when it came to the connection regardless of the account/rights for that user. By default I stick with this account and grant it all the rights to the database.
My still be an issue with the DB version but worth it you get it working.