chathura Perera
asked on
FreeTDS problem
hi
i'm trying to connect to a Microsoft SQL Server database from one of our Python applications running under Linux.
i followed below tutorial in this link. http://www.tryolabs.com/Blog/2012/06/25/connecting-sql-server-database-python-under-ubuntu/
i had installed FreeTDS, UnixODBC, pip, pyodbc. and i also had setup server in freeTDS's Setting. but when i try to run this code tsql -S sqlserver -U <username> -P <password> , it gives me error
bash: tsql: command not found..
can you give me step by step guidance to resolve this problem because i'm new to linux.
thanks in advance
i'm trying to connect to a Microsoft SQL Server database from one of our Python applications running under Linux.
i followed below tutorial in this link. http://www.tryolabs.com/Blog/2012/06/25/connecting-sql-server-database-python-under-ubuntu/
i had installed FreeTDS, UnixODBC, pip, pyodbc. and i also had setup server in freeTDS's Setting. but when i try to run this code tsql -S sqlserver -U <username> -P <password> , it gives me error
bash: tsql: command not found..
can you give me step by step guidance to resolve this problem because i'm new to linux.
thanks in advance
ASKER
tsql -S sqlserver -U <username> -P <password>
i had tried this command from LXterminal
root@raspberrypi:/home/pi?
i had tried this command from LXterminal
root@raspberrypi:/home/pi?
Have you tested using those 'credentials' elsewhere to make sure they work?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thank you all
in other words, did you try it from some random folder, or did your execute it from the folder where tsql is installed?
note it's over 25 years (maybe more) since I've used any *nix
this about the only thing I can offer