Mailing List Archive

[The Trac Project] #3874: Problem with mysql setup
#3874: Problem with mysql setup
-----------------------------+----------------------------------------------
Reporter: HITECK@EMAIL.IT | Owner: cmlenz
Type: defect | Status: new
Priority: highest | Milestone:
Component: trac-admin | Version: 0.10
Severity: blocker | Keywords:
-----------------------------+----------------------------------------------
I got errors with installation of mysql... here the log:

{{{
Creating and Initializing Project
Failed to create environment. No module named MySQLdb
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/trac/scripts/admin.py",
line 611, in do_initenv
options=options)
File "/usr/local/lib/python2.4/site-packages/trac/env.py", line 124, in
__init__
self.create(options)
File "/usr/local/lib/python2.4/site-packages/trac/env.py", line 228, in
create
DatabaseManager(self).init_db()
File "/usr/local/lib/python2.4/site-packages/trac/db/api.py", line 65,
in init_db
connector.init_db(**args)
File "/usr/local/lib/python2.4/site-packages/trac/db/mysql_backend.py",
line 44, in init_db
cnx = self.get_connection(path, user, password, host, port, params)
File "/usr/local/lib/python2.4/site-packages/trac/db/mysql_backend.py",
line 40, in get_connection
return MySQLConnection(path, user, password, host, port, params)
File "/usr/local/lib/python2.4/site-packages/trac/db/mysql_backend.py",
line 125, in __init__
import MySQLdb
ImportError: No module named MySQLdb
Failed to initialize environment. 1
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/trac/scripts/admin.py",
line 615, in do_initenv
sys.exit(1)
SystemExit: 1
}}}
Tx 4 support!
Ciao
Antonello

--
Ticket URL: <http://trac.edgewall.org/ticket/3874>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---