Modify ↓
#13214 closed defect (cantfix)
on trac-admin initenv break with message "unsupportable type mysql"
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | admin/console | Version: | 1.2.3 |
Severity: | normal | Keywords: | mysql |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
hello guys. My steps:
trac-admin /var/hg/health initenv
1.1 health
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 --
Attachments (0)
Change History (1)
comment:1 by , 5 years ago
Priority: | highest → normal |
---|---|
Resolution: | → cantfix |
Severity: | blocker → normal |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
InstallationIssue. Please ask on the MailingList for support questions.