martinrybak/SQLClient

Is there any way to connect to azure database the same way?

Closed this issue · 2 comments

I managed to connect to typical SQL-Server on both local and not local server. But what i want to try to do now is to connect to azure database. Every time i try to do this i get this error:

Server name not found in configuration files
Unknown host machine name 

Should i specify port differently?

when i add port to database name with :1433 instead of ,1433 i got this error:

Adaptive Server connection failed

Looks like you may need to recompile the FreeTDS binary with some additional options: https://martinrichards.tumblr.com/post/28488121620/connecting-to-sql-azure-using-freetds

If you figure it out let me know.