MySQL, Python and Odbc
mgates
mgates at total.net
Sun Mar 19 07:59:23 EST 2000
Question: How do I setup python to be able to query Mysql using odbc in
Windows..
I have put the files mxOBDC and DateTime into the c:\Python\Lib dir ..
when I run the test script I get the following :
File "C:\python\Pythonwin\pywin\framework\scriptutils.py", line 310, in
RunScript
exec codeObject in __main__.__dict__
File "C:\python\Lib\ODBC\Misc\test.py", line 1054, in ?
rc = main()
File "C:\python\Lib\ODBC\Misc\test.py", line 1004, in main
connection = apply(connectapi,connectargs)
OperationalError: ('IM002', 0, '[Microsoft][ODBC Driver Manager] Data source
name not found and no default driver specified', 4316)
any help?
More information about the Python-list
mailing list