I use web2py along with other development frameworks (InstantDjango, InstantRuby, XAMPP), on a portable USB thumb-drive. One problem I have solved is getting MySQLdb working in web2py. I have tried the following, and it seems to work:
Download and install ActiveState Python2.5 for Windows( http://downloads.activestate.com/ActivePython/windows/2.5/ActivePython-22.214.171.124-win32-x86.msi ).
This installs python to
Download and install the MySQL client (
from Sourceforge( http://sourceforge.net/projects/mysql-python ).
This installs files to
Copy the following directories and files from
Lib\site-packages directory for web2py(
(create the 2 subdirectories
site-packages if they do not exist):
MySQL_python-1.2.2-py2.5.egg-info MySQLdb _mysql.pyd _mysql_exceptions.py _mysql_exceptions.pyc _mysql_exceptions.pyo
web2py.exe application. Note that the
WARNING:root:no MySQLdb driver
message should not show up on the console now.
PS: The licence information displayed when installing MySQL-python-1.2.2.win32-py2.5.exe
says that it is
Free Software, so I will try to upload a zip file archive of
the MySQLdb files to the Google Group ( http://groups.google.com/group/web2py/files?hl=en )
for others to use.