daily pastebin goal
56%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DATABASES = {
  2.     'default': {
  3.         # 'ENGINE': '{ODBC Driver 11 for SQL Server}', Tried this as well but it did not work.
  4.         'ENGINE': 'sql_server.pyodbc',
  5.         'NAME': 'MY_DATABASE',
  6.         # 'HOST': 'XXX.XX.XXX.XXX', Tried this as well but it did not work.
  7.         'SERVER': 'XXX.XX.XXX.XXX',
  8.         # 'HOST': 'SQLSERVER_InstanceName',
  9.         'PORT': '',
  10.         'USER': 'SQLSERVERUSER',
  11.         'PASSWORD': 'USER's PASSWORD',
  12.          'DATABASE': 'MY_DATABASE',
  13.          # 'Trusted_Connection': 'Yes',
  14.         # 'OPTIONS': {
  15.         #             'driver': 'ODBC Driver 11 for SQL Server',
  16.         #            }
  17.  
  18.             },
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top