Hi, I installed trac and things seemed to go well. When I went to
start up and get the environemnt going, I did this:

trac-admin /usr/local/trac initenv
Creating a new Trac environment at /usr/local/trac

Trac will first ask a few questions about your environment
in order to initalize 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]> shfhosting

 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).






********* I think this is where I messed up ************
Database connection string [sqlite:db/trac.db]> mysql:db/trac.db







 Please specify the type of version control system,
 By default, it will be svn.

 If you don't want to use Trac with version control integration,
 choose the default here and don't specify a repository directory.
 in the next question.

Repository type [svn]> svn

 Please specify the absolute path to the version control
 repository, or leave it blank to use Trac without a repository.
 You can also set the repository location later.

Path to repository [/path/to/repos]> /usr/local/svn/test

Creating and Initializing Project
Failed to create environment. Database connection string must start
with scheme:                      /
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/
admin/consol                      e.py", line 541, in do_initenv
    options=options)
  File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/
env.py", lin                      e 187, in __init__
    self.create(options)
  File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/
env.py", lin                      e 304, in create
    DatabaseManager(self).init_db()
  File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/db/
api.py",                       line 69, in init_db
    connector, args = self._get_connector()
  File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/db/
api.py",                       line 85, in _get_connector
    scheme, args = _parse_db_str(self.connection_uri)
  File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/db/
api.py",                       line 119, in _parse_db_str
    raise TracError('Database connection string must start with '
TracError: Database connection string must start with scheme:/

Can someone please tell me how the mysql part of this should go?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
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