Open GoogleCodeExporter opened 8 years ago
Hye guys! I got it!... The reason of this problem was that the DB user name
didn't
have password, unfortunately I don't have admin access to the MSSQLServer DB to
modify the user, so I found that in the line 202 in the
sql_server/pyodbc/base.py
file there is something like a "sql Injection" or some like that, then when the
pass
string is empty, It crashes.. .
cstr_parts.append('UID=%s;PWD=%s' % (user_str, passwd_str))
So I fixed in this way...
cstr_parts.append('UID=%s;PWD=' % (user_str))
But you know, we have to fix it in a good way, adding a case to treat this
user_str
string in this case.
See you guys, tnks.
Original comment by daesc...@gmail.com
on 5 May 2010 at 1:41
Original issue reported on code.google.com by
daesc...@gmail.com
on 5 May 2010 at 12:38