I am also getting the same error when I try to setup a DB connection in
Django. It is automatically putting two forward slashes on my username.
On Monday, May 21, 2012 1:48:34 PM UTC-5, Random wrote:
>
> Hello everyone,
>
> It seems that I'm unable to connect to a mssql database. I am getting the
> error:
>
> Traceback (most recent call last):
> File "gluon/dal.py", line 5955, in __init__
> File "gluon/dal.py", line 2280, in __init__
> RuntimeError: Unable to import driver
>
> when using the connection string:
>
> db = SQLDB('mssql://username:password@\\server\instance/databasename')
>
> However I am able to connect using pymssql module in regular Python 2.7
> using the connection string (with the same credentials):
>
> pymssql.connect(host='hostname', user='username', password='password',
> database='database')
>
> Any ideas? Thanks in advance.
>
>