Am 09.12.2009 09:21, schrieb [email protected]:
The error appears after tryng to upgrade:
(...)
d:\tracrepos\mytrac\>trac-admin d:\tracrepos\mytrac upgrade C:\Python26\lib\site-packages\MySQLdb\__init__.py:34:
(...)
WindowsError: [Error 2] The system cannot find the file specified
This is because trac tries to do a backup of the database before upgrading. However it needs the mysqldump binary for that which is either not present on your system or in a different path.
A quick workaround is to use the '--no-backup' option as described in http://trac.edgewall.org/wiki/TracUpgrade
By doing this trac won't do a backup so if you have valuable data in your MySQL db, please do a backup yourself before upgrading.
Second question is: Are these two commands are equivalent if my current folder is d:\tracrepos\mytrac trac-admin d:\tracrepos\mytrac upgrade trac-admin . upgrade
yes fsPS: We recommend *not* using MySQL for Agilo as support for this db is declared 'experimental' by the trac authors.
smime.p7s
Description: S/MIME Cryptographic Signature

