Hi again Jose
Since my error mesage now says something like:
Data source name not found, and no default driver specified')
I decided to try the DNS route.
I have tried to edit both /usr/share/freetds/freetds.conf and
/etc/freetds/freetds.conf. In both cases I added a DNS. That changed
nothing. I still get
Data source name not found, and no default driver specified')
Sincerely
On Monday, July 13, 2015 at 10:00:08 PM UTC+2, achristoffersen wrote:
>
> Hi Jose,
>
> Thanks
>
> Okay - So if I run python web2py -M
>
> I get this:
> Version 2.11.2-stable+timestamp.2015.05.30.16.33.24
> Database drivers available: sqlite3, imaplib, pyodbc, pymysql, pg8000
>
> I guess pyodbc here is really pypyodbc?
>
> A
>
> Also: Thanks for the pointers. Is your recommendation to use DNS instead,
> like the example?
>
> (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)
>>
>
> ?
>
> On Monday, July 13, 2015 at 7:32:39 PM UTC+2, Jose wrote:
>>
>> Hi
>>
>> Please see here [1]
>>
>> José
>>
>>
>> [1]
>> https://groups.google.com/forum/#!searchin/web2py/Help$20with$20MSSQL$20Connection/web2py/fFgJMgYHbBQ/ZLji6jjkYzEJ
>>
>
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.