79197268

Date: 2024-11-17 13:20:12
Score: 2
Natty:
Report link

In reply to shadow:

Using the trail with MySql: I get no response at all. Python simply stops, and I have to start it up again from scratch.

Using ODBC, I get:

exec(open('pythonx.py').read()) 1 2 Traceback (most recent call last): File "", line 1, in exec(open('pythonx.py').read()) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 25, in pyodbc.InterfaceError: ('IM002', '[IM002] [Microsoft][ODBC-stuurprogrammabeheer] De naam van de gegevensbron is niet gevonden en er is geen standaardstuurprogramma opgegeven (0) (SQLDriverConnect)')

Or, after adjusting the driver mentioned

pyodbc.Error: ('HY000', 'The driver did not supply an error!')

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Filler text (0.5): ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  • Low reputation (1):
Posted by: Joop Moerkens