Edgewall Software
Modify

Opened 5 years ago

Closed 5 years ago

Last modified 10 months ago

#13214 closed defect (cantfix)

on trac-admin initenv break with message "unsupportable type mysql"

Reported by: cybermerlin@… 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:

  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 --

Attachments (0)

Change History (1)

comment:1 by Jun Omae, 5 years ago

Priority: highestnormal
Resolution: cantfix
Severity: blockernormal
Status: newclosed

InstallationIssue. Please ask on the MailingList for support questions.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.