C++ Access to SQL Server from Linux
- by Meloun
I need to write some data to SQL Server database from Linux in c++.
I found this sqlapi.com
But I think, at first ODBC driver has to be installed an has to work.
I folowed this
adminlife.net/allgemein/mssql-zugriff-unter-debian-etch-mit-unixodbc-und-freetds/
or this
http://b.gil.megiteam.pl/2009/11/linux-odbc-to-mssql/
But it didnt work, the port 1433 seems to be closed
($ sudo nmap -PN -sU -p 1433 192.168.56.101 - port "filtered")
isql -v sqlexpress sa
- wait with no response or get "couldn't connect to sql"
From other PC with Windows I have no problem to write data in SQL Server,
so server should be right configured to remote access.
any idea?