Firstly, hello. I am new here and have been using Trac recently at a
company I worked for and was impressed with it. I have now moved on
and want to get it used at my new place. I am playing around with
installation and been following the instructions on using MySQL
[http://trac.edgewall.org/wiki/MySqlD]. I have followed them to the
letter, have a database setup using utf8, but get the following
issue:

Frodo-Baggins:~ Kevin$ trac-admin /Users/Kevin/Sites/trac/yoo-zuh-
buhl/ initenv
Creating a new Trac environment at /Users/Kevin/Sites/trac/yoo-zuh-
buhl

Trac will first ask a few questions about your environment
in order to initialise and prepare the project database.

 Please enter the name of your project.
 This name will be used in page titles and descriptions.

Project name [My Project]> Yoo-zuh-buhl

 Please specify the connection string for the database to use.
 By default, a local SQLite database is created in the environment
 directory. It is also possible to use an already existing
 PostgreSQL database (check the Trac documentation for the exact
 connection string syntax).

Database connection string [sqlite:db/trac.db]> 
mysql://tracuser:passw...@localhost/trac

Creating and initialising project
Initenv for '/Users/Kevin/Sites/trac/yoo-zuh-buhl' failed.
Failed to create environment.
Cannot load Python bindings for MySQL
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/
lib/python2.6/site-packages/trac/admin/console.py", line 413, in
do_initenv
    options=options)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/
lib/python2.6/site-packages/trac/env.py", line 221, in __init__
    self.create(options)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/
lib/python2.6/site-packages/trac/env.py", line 409, in create
    DatabaseManager(self).init_db()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/
lib/python2.6/site-packages/trac/db/api.py", line 145, in init_db
    connector, args = self.get_connector()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/
lib/python2.6/site-packages/trac/db/api.py", line 195, in
get_connector
    raise TracError(connector.error)
TracError: Cannot load Python bindings for MySQL

Any help will be much appreciated.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to