I'm not a python programmer, I'm mostly a hobbist that lately is developing a project in php/Mysql. Now I find myself in need of sending two python variables to one mysql table. I found the wonderful MySQLdb module but unfortunately only supports 2.3-2.5, while to run this specific python script I need at least python 2.6. So I came across pyodbc, that I discovered requires some sort of ODBC (all stuff I basically never heard of), I hence downloaded MysqlConnect 3.51.16 for windows (since I was unable to download the last version from the official mysql website) and now when I configure microsof odbc system DSN and I test it all I get is Request Returned with SQL_ERROR.
Any advice on how transfer data from python variables to a mysql db??
Thanks to all!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.