On Wednesday, February 8, 2017 at 1:43:19 PM UTC-8, Atilio Medina wrote: > > I've cloned the old system and run the upgrade steps on it. The > attachments paths have been updated correctly. I tried the migration from > sqlite to mysql using > > https://trac-hacks.org/wiki/TracMigratePlugin > > and I am getting the following, any ideas? > > trac-migrate.py --in-place /var/trac/projects/main > mysql://user:password@localhost:3306/trac > Traceback (most recent call last): > File "./trac-migrate.py", line 55, in <module> > sys.exit(main(sys.argv[1:]) or 0) > File "./trac-migrate.py", line 51, in main > return TracMigrationCommand(env)._do_migrate(dest, dburi) > File "/var/trac-migrate/tracmigrate/admin.py", line 55, in _do_migrate > return self._do_migrate_inplace(dburi) > File "/var/trac-migrate/tracmigrate/admin.py", line 86, in > _do_migrate_inplace > dst_env = self._create_env(env_path, dburi) > File "/var/trac-migrate/tracmigrate/admin.py", line 128, in _create_env > env = MigrateEnvironment(env_path, create=True, options=options) > File > "/python27/lib/python2.7/site-packages/Trac-1.2-py2.7.egg/trac/core.py", > line 128, in __call__ > self.__init__(*args, **kwargs) > File > "/python27/lib/python2.7/site-packages/Trac-1.2-py2.7.egg/trac/env.py", > line 299, in __init__ > self.create(options) > File > "/python27/lib/python2.7/site-packages/Trac-1.2-py2.7.egg/trac/env.py", > line 591, in create > DatabaseManager(self).init_db() > File > "/python27/lib/python2.7/site-packages/Trac-1.2-py2.7.egg/trac/db/api.py", > line 337, in init_db > connector, args = self.get_connector() > File > "/python27/lib/python2.7/site-packages/Trac-1.2-py2.7.egg/trac/db/api.py", > line 606, in get_connector > scheme=scheme)) > trac.core.TracError: Unsupported database type "mysql" >
Do you have MySQL-python installed? https://trac.edgewall.org/wiki/MySqlDb#MySQLdb - Ryan -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
