On Sunday, October 20, 2019 at 11:55:25 AM UTC-7, User Cybermerlin wrote: > > hello guys. My steps: > > 1. trac-admin /var/hg/health initenv > > 1.1 health > > 1. mysql://trac:123@localhost:3306/trac > > as a result, I see: > > Неподдерживаемый тип базы данных "mysql" > Traceback (most recent call last): > File "/usr/local/lib/python2.7/site-packages/trac/admin/console.py", line > 500, in do_initenv > options=options) > File "/usr/local/lib/python2.7/site-packages/trac/core.py", line 139, in > __call__ > self.__init__(*args, **kwargs) > File "/usr/local/lib/python2.7/site-packages/trac/env.py", line 310, in > __init__ > self.create(options) > File "/usr/local/lib/python2.7/site-packages/trac/env.py", line 602, in > create > DatabaseManager(self).init_db() > File "/usr/local/lib/python2.7/site-packages/trac/db/api.py", line 337, in > init_db > connector, args = self.get_connector() > File "/usr/local/lib/python2.7/site-packages/trac/db/api.py", line 615, in > get_connector > scheme=scheme)) > TracError: > \u041d\u0435\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0439 > \u0442\u0438\u043f \u0431\u0430\u0437\u044b > \u0434\u0430\u043d\u043d\u044b\u0445 "mysql" > > > To resolve this trouble, I've installing pip for 2.7 python and pip > install MySQL-python > > pkg install py27-pip > pip2.7 install PyMySQL > pip2.7 install MySQL-python > > that did not help me -- >
Are you running Trac 1.4? https://trac.edgewall.org/wiki/TracUpgrade#MySQL-pythonnolongersupported - Ryan -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-dev/4117b1c5-e313-45c2-bb81-e72f319bd2bf%40googlegroups.com.
