Guest User

Untitled

a guest
Oct 21st, 2017
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. >>> from os import getenv
  2. >>> import pymssql
  3. >>> server = getenv(“КОМП”)
  4. >>> user = getenv(“user”)
  5. >>> password = getenv(“”)
  6. >>> conn = pymssql.connect(server, user, password, “Test”)
  7. Traceback (most recent call last):
  8. File “<pyshell#6>”, line 1, in <module>
  9. conn = pymssql.connect(server, user, password, “Test”)
  10. File “pymssql.pyx”, line 635, in pymssql.connect (pymssql.c:10734)
  11. File “_mssql.pyx”, line 1902, in _mssql.connect (_mssql.c:21821)
  12. File “_mssql.pyx”, line 552, in _mssql.MSSQLConnection.__init__ (_mssql.c:5891)
  13. TypeError: argument of type ‘NoneType’ is not iterable
Add Comment
Please, Sign In to add comment