A very simple and easy to deploy solution is using Connector/Net.
You only depend on a single assembly (mysql.data.dll
) that needs to reside beside your application (or wherever you choose).
The documentation has a few examples on how to use the connector from C#/.NET which can be used as a guide on how to use it from IronPython as well.
Another possible solution could be using Connector/Python. It is native python without any managed or native assemblies but it comes in the form of several .py
files which could possibly be embedded within your executable.
MySQLdb
probably won't work because of its native assemblies.