Not a problem. It's all part of the learning curve when you try something new.
At the time of writing I wanted to include this link http://www.nslu2-linux.org/wiki/Optware/AddAPackageToOptware
but the site seemed to be down. I didn't want to link to a page didn't know was coming back up :-( (The page is up and available at this time 2012.03.28 -- 19:30 GMT)
Following the instructions on that page you can build your own set of libraries for an optware platform and ftp or scp them onto your system. The files can be found under /<path-to-platform>/<platform-dir>/staging/opt/lib directory in a mysql directory I copied the whole mysql directory to /opt/lib/ on my nas creating /opt/lib/mysql.
That allows py-mysql to work. The rest is much more MySQL specific.
These were initially installation based issues and then my misunderstanding of python and a configuration issue.
Hopefully this will help others trying to use Python, MySQL and Optware together.
Edited 1 time(s). Last edit at 03/28/2012 12:29PM by Stephen Feyrer.