Database Connection to external database #1

Closed
wenz0401 opened this Issue Dec 1, 2011 · 2 comments

Projects

None yet

2 participants

@wenz0401
wenz0401 commented Dec 1, 2011

Hello,

I just wanted to know whether it is possible to use this Trac plugin to connect to other databases than the project database. In the current version I understand that this feature is not supported. We are running some kind of tutorial in our Trac system and it would be awesome to use the plugin to allow the students to perform queries on an example database. For this I would need to specifiy a connection string and add an additional driver I guess...

@mrjbq7 mrjbq7 closed this in 096947b Dec 1, 2011
@mrjbq7
Collaborator
mrjbq7 commented Dec 1, 2011

This should work with standard sqlite, postgres, and mysql connection strings (as long as your local Trac instance has the requirements for the relevant database backend). I updated the README to show how to configure it.

@mrjbq7
Collaborator
mrjbq7 commented Dec 1, 2011

By the way, I do "pretty linking" of certain well-known columns within the project database (like revisions, tickets, wiki, etc.). If you use an external database and that gets in the way, just select the "raw output" option and it will just render text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment