On Tue, Nov 18, 2008 at 11:43 PM, yutao <[EMAIL PROTECTED]> wrote:
>
> i am install trac + svn + apache Server.
>
> My Server : RHEL5
> trac: 0.10.1
> Mysql : 5.0.26
> python: 2.6
> Genshi:0.5.4
> mod_python:3.3.1
> apache: 2.2.10
> svn:1.5.4
> apr:1.3.3
> apr-util:1.3.4
> flex:2.5.31
> MySQL-python:1.2.2
>
> I read lots of paper about the trac+svn+apache in the internet. svn
> and apache work normal. when i initevn, trac will be report the error:
>
> Creating and Initializing Project
> /usr/local/lib/python2.6/site-packages/trac/core.py:28:
> DeprecationWarning: BaseException.message has been deprecated as of
> Python 2.6
> self.message = message
> Failed to create environment. Unsupported database type "mysql"
> Traceback (most recent call last):
> File "/usr/local/lib/python2.6/site-packages/trac/scripts/admin.py",
> line 613, in do_initenv
> options=options)
> File "/usr/local/lib/python2.6/site-packages/trac/env.py", line 156,
> in __init__
> self.create(options)
> File "/usr/local/lib/python2.6/site-packages/trac/env.py", line 261,
> in create
> DatabaseManager(self).init_db()
> File "/usr/local/lib/python2.6/site-packages/trac/db/api.py", line
> 69, in init_db
> connector, args = self._get_connector()
> File "/usr/local/lib/python2.6/site-packages/trac/db/api.py", line
> 97, in _get_connector
> raise TracError('Unsupported database type "%s"' % scheme)
> TracError: Unsupported database type "mysql"
>
> Pls help me ~~ who can solve this problem. i am very very very thanks
First of all, Trac 0.10.1 is very ancient. I'm guessing it's what
came in the RPM in Redhat's repository or something. I would try
installing Trac 0.11.2 if I were you. Also, do you really need to use
MySQL? How many users do you anticipate? The vast majority of Trac
instances can probably work fine with SQLite which is better
supported, and easier to set up. Finally, if you insist on using
MySQL search the web for that error and see if you can find any
answers first. This has been discussed many, many times before.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---