Opened 5 years ago

Closed 5 years ago

#13218 closed defect (invalid)

Can't install track 1.2 using easy_install and MySQL

Reported by: anonymous Owned by:
Priority: highest Component: SELECT A HACK
Severity: normal Keywords:
Cc: Trac Release:



I followed the steps of the installation guide. It says to do: trac-admin /path/to/myproject initenv

This gives error:

Creating and Initializing Project Initenv for '/var/www/trac-project' failed. Failed to create environment. Unsupported database type "mysql" Traceback (most recent call last):

File "build/bdist.linux-x86_64/egg/trac/admin/", line 500, in do_initenv


File "build/bdist.linux-x86_64/egg/trac/", line 136, in call

self.init(*args, kwargs)

File "build/bdist.linux-x86_64/egg/trac/", line 300, in init


File "build/bdist.linux-x86_64/egg/trac/", line 592, in create


File "build/bdist.linux-x86_64/egg/trac/db/", line 337, in init_db

connector, args = self.get_connector()

File "build/bdist.linux-x86_64/egg/trac/db/", line 615, in get_connector


TracError: Unsupported database type "mysql"

The connector it requires (python-mysqldb) is depreciated no one use it any more. It should be using MOD_WSGI.

I don't know how to proceed with the installation.

What can i do?

I can not use SQLite nor any other database as i'm going to use the script given here: It has to work with MySQL.

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by Ryan J Ollos

Resolution: invalid
Status: newclosed

Please ask on the trac:MailingList.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.