title: pyodbc connection string isn't working - "Data source name not found and no default driver specified"
body: <p>Recently I'm trying to connect to a SQL Server though pyodbc but I'm having some troubles with the connection string. I already tried as suggested on this previous question: <a href="https://stackoverflow.com/questions/32662123/pyodbc-error-data-source-name-not-found-and-no-default-driver-specified-paradox">Pyodbc error Data source name not found and no default driver specified paradox</a>, creating a <em>.dsn</em> file and trying to implement the procedure's output on the string, but stil get the same error message: <code>('IM002', '[IM002] [unixODBC][Driver Manager]Data source name not found, and no default driver specified (0) (SQLDriverConnect)')</code></p>
  <p>This is what I'm doing so far:</p>
  <pre><code>conn = pyodbc.connect('DRIVER={ODBC Driver 13 for SQL Server};
                        'WSID={BRRIO-xxxx};'
                        'APP={Microsoft® Windows® Operating System};'
                        'Trusted_Connection=Yes;'
                        'SERVER=BRRIO-xxxx\xxx;'
                        'Database=xxx_Data;'
                        'UID=&quot;xxxx&quot;;'
                        'PWD=&quot;xxxx&quot;;'
                        )
  </code></pre>
  <p>and this is what my <em>.dsn</em> file looks like:</p>
  <pre><code>DRIVER={ODBC Driver 13 for SQL Server};
  WSID={BRRIO-xxxx};
  APP={Microsoft® Windows® Operating System};
  Trusted_Connection=Yes;
  SERVER=BRRIO-xxxx\xxx
  </code></pre>
  <p>Any help is really appreciated!</p>