[web2py] Re: Help with MSSQL Connection

2018-02-10 Thread Massimo Di Pierro
you may have multiple versions of python installed. On Wednesday, 1 July 2015 14:50:49 UTC-5, JC wrote: > > Hello > I had a similar problem, causes by 2 things: 1- sql configuration was > wrong. 2- I need to specify the path fro the pyodbc location. > Hope this help you > > > On Tuesday,

[web2py] Re: Help with MSSQL Connection

2018-02-07 Thread 黄祥
i face the same problem, the solution above is not clear for me. any hints ? *installed pyodbc on docker container using alpine:latest image* apk add --no-cache python python-dev py-pip py-setuptools unzip wget openssl gcc build-base unixodbc-dev pip install pyodbc ... the rest of the code is

[web2py] Re: Help with MSSQL Connection

2015-07-02 Thread Derek
Wow, that's great. I tried that a while ago and I had issues. I created issues for the developer but I wasn't aware he had fixed them. https://github.com/denisenkom/pytds/issues/33 I had to use some hacks to get mine to work with TDS, but once I did that, I can use it in pypy, with full

[web2py] Re: Help with MSSQL Connection

2015-07-01 Thread Jose
Hi Massimiliano I have the following in FreeBSD - unixODBC - FreeTDS - py-odbc Configuration: /usr/local/etc/odbcinst.ini [TDS] Description = FreeTDS Driver = /usr/local/lib/libtdsodbc.so UsangeCount = 1 DontDLClose = 1 CPTimeout = 60 Threading = 0 Pooling = Yes

Re: [web2py] Re: Help with MSSQL Connection

2015-07-01 Thread Massimiliano
Thank you Jose On Wed, Jul 1, 2015 at 3:43 PM, Jose jjac...@gmail.com wrote: Hi Massimiliano I have the following in FreeBSD - unixODBC - FreeTDS - py-odbc Configuration: /usr/local/etc/odbcinst.ini [TDS] Description = FreeTDS Driver = /usr/local/lib/libtdsodbc.so UsangeCount =

[web2py] Re: Help with MSSQL Connection

2015-07-01 Thread Massimiliano
Maybe could be useful to someone.. . I found that for my needs, I can got with python-tds, that is pure python. Thank you On Tuesday, June 30, 2015 at 2:49:40 PM UTC+2, Massimiliano wrote: Hello, I've a problem with odbc. I'm developing on OSX 10.10.3 and I found some problems

[web2py] Re: Help with MSSQL Connection

2015-07-01 Thread JC
Hello I had a similar problem, causes by 2 things: 1- sql configuration was wrong. 2- I need to specify the path fro the pyodbc location. Hope this help you On Tuesday, June 30, 2015 at 1:49:40 PM UTC+1, Massimiliano wrote: Hello, I've a problem with odbc. I'm developing on OSX