if you read the whole thing, he changed the way it works. db = DAL('mssql://dsn=192.168.0.52;user=usr1;password=pwd1;')
hint: You have to use DBAPI 2.0 connection strings. http://legacy.python.org/dev/peps/pep-0249/#footnotes On Tuesday, May 20, 2014 10:17:09 PM UTC-7, Nguyen Minh Tuan wrote: > > Hi Jose, > > I'm now have the same error with you. > and cannot connect to MSSQL server, I've read your self answer but can not > understand. > Can you help me? > > db = DAL('mssql://usr1:pwd1@192.168.0.52/database_1') > > environment : > - CentOS 6.4, Nginx, uWSGI > - Python 2.7.6 > - Web2py 2.9.5 > > Thanks, > Tuan. > > On Saturday, October 20, 2012 3:26:03 AM UTC+7, Jose wrote: >> >> >> >> El viernes, 19 de octubre de 2012 15:48:26 UTC-3, Massimo Di Pierro >> escribió: >>> >>> So, is the issue closed? >>> >> >> Yes. >> >> Jose >> > -- 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.