Closed GoogleCodeExporter closed 9 years ago
The same connection string was worked at least in 2.1.7 under ubuntu 11.04/32
bit
Original comment by av1024@gmail.com
on 28 Jun 2012 at 7:51
pyodbc doesn't do anything with environment variables. This is up to the
driver. There are a lot of changes between pyodbc 2.1.7 and 3.0.6, but nothing
that should cause this.
Are you saying that the *only* thing changed is pyodbc? Are you using the
exact same driver and test script?
I can't think of anything that would cause this other than a driver change.
Also, I've been recommending the use of Microsoft's SQL Server driver for Linux
where possible, just because there are a lot of bugs in FreeTDS.
Original comment by mkleehammer
on 1 Jul 2012 at 3:48
Good idea!
After uninstaling lastest pydbc and replace them by 2.1.7 from ubuntu
repository my script still does not work without 'port=1433'.
So its look like some changes in freetds/pyodbc/distro…
I can't user Microsoft's driver because it is not installable under debian (
Original comment by av1024@gmail.com
on 2 Jul 2012 at 5:28
SQL Server Driver for Linux can be installed under Debian.
Here is a post explaining how to do it on Debian/Ubuntu from this past December
(like mkleehammer said, it is much more stable):
http://www.codesynthesis.com/~boris/blog/2011/12/02/microsoft-sql-server-odbc-dr
iver-linux/
Original comment by dkleeham...@gmail.com
on 17 Jul 2012 at 6:35
Thanks for information.
I know this method. It is so complex for our cutomers for now... :(
Original comment by av1024@gmail.com
on 18 Jul 2012 at 5:35
Closing since it is a FreeTDS issue. Good luck.
Original comment by mkleehammer
on 27 Sep 2012 at 8:24
Original issue reported on code.google.com by
av1024@gmail.com
on 28 Jun 2012 at 7:50