Microsoft SQL Server as a backend database

Notice: This plugin is unmaintained and available for adoption.


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

Related tickets:

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

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 14:28:46
fixes mistakes on changeset:12704
12704 by matobaa on 2013-03-10 14: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 15:01:19
MsSqlBackendPlugin: support for custom query


Author: matobaa
Maintainer: none (needsadoption)

Last modified 6 years ago Last modified on Sep 23, 2018, 1:57:02 PM