Microsoft SQL Server as a backend database


This plugin allows you to connect Microsoft SQL Server as a backend database to Trac, albeit crudely implemented.

There is also a fork, implemented for Trac 1.1.2 and focused on ticketing:, which is released under a Modified BSD license.

Related tickets:

Bugs/Feature Requests

Existing bugs and feature requests for MsSqlBackendPlugin are here.

If you have any issues, create a new ticket.


1 / 2


Download the zipped source from here.


You can check out MsSqlBackendPlugin from here using Subversion, or browse the source with Trac.

Installation / Configuration

  • Download the source, perform bdist_egg, then place dist/*.egg into your PYTHONPATH.
  • Add the following to your trac.ini file:
    mssql_backend.* = enabled
  • Create tracdb database on MS SQL Server.
  • Setup tracdb DSN connected to database above with ODBC Administrator.
  • Do trac-admin __projectpath__ initenv --inherit=path/to/mssql_enabler.ini new "odbc:/DSN=tracdb;Trusted_Connection=yes" to create project.

Recent Changes

12705 by matobaa on 2013-03-10 15:28:46
fixes mistakes on changeset:12704
12704 by matobaa on 2013-03-10 15:22:25
closes #10920, included license text for
ContextChromePlugin, EpochFieldPlugin, FieldTooltipPlugin, HideFieldChangesPlugin, MsSqlBackendPlugin, NeighborPagePlugin, QueryUiAssistPlugin, ShowWhenMacro, SnapshotPlugin, StatusHistoryChartMacro, and TracLinksPlugin.
12684 by matobaa on 2013-03-05 16:01:19
MsSqlBackendPlugin: support for custom query


Author: matobaa
Maintainer: none (needsadoption)

Last modified 11 months ago Last modified on Nov 19, 2015, 9:46:40 AM