The MySQLDB Python module requires mysql library code written in C to be present on the platform. That's currently not something that is provided on the device. Alternate, pure python implementations that communicated to the database server would be possible, but I'm unaware of any.
One way that this could be addressed would be to segment the application to communicate to a server proxy on a PC that could perform the database operations when requested by the gateway application.