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

/usr/local/etc/odbc.ini 

[MY_NAME] 
Driver = TDS 
Description = ODBC usando FreeTDS 
Trace = No 
Servername = My_SQLServer 
Database = my_database



/usr/local/etc/freetds.conf 

(here is important indentation)
[My_SQLServer]
    host = my_host
    port = 1433 
    tds version = 8.0


in model
db = DAL("mssql://dsn=MY_NAME;UID=user;PWD=password", pool_size=20)

Best regards
José

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to