Hello Costanza,

sorry for the late reply. I am not too familiar with mssql but your 
database should be identified by a connection string also known as DSN
https://www.connectionstrings.com/sql-server/

In web2py you would use:

db = DAL('mssql://...')

where ... is your dsn string.

nas wrote:

> Hi! I'm a beginner on web programming and just started with web2py. So I 
> was wondering how should I connect from my web2py site to a SQL Server 
> Database? I need to mention that my connection string uses 
> *Trusted_Connection**=True*, so I don't connect with user nor password.
> I'm sorry! It may be really simple but I just didn't get a working 
> solution on the web.
>
> Thanks!
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/b74948a3-bac0-4300-ad9b-28b210a04737%40googlegroups.com.

Reply via email to