Opened 8 years ago
Closed 8 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: |
Description
Hi,
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/console.py", line 500, in do_initenv
options=options)
File "build/bdist.linux-x86_64/egg/trac/core.py", line 136, in call
self.init(*args, kwargs)
File "build/bdist.linux-x86_64/egg/trac/env.py", line 300, in init
self.create(options)
File "build/bdist.linux-x86_64/egg/trac/env.py", line 592, in create
DatabaseManager(self).init_db()
File "build/bdist.linux-x86_64/egg/trac/db/api.py", line 337, in init_db
connector, args = self.get_connector()
File "build/bdist.linux-x86_64/egg/trac/db/api.py", line 615, in get_connector
scheme=scheme))
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: https://trac-hacks.org/ticket/13146 It has to work with MySQL.
Please ask on the trac:MailingList.