# Microsoft SQL Server DB Backend

**URL:** <https://forum.mattermost.com/t/microsoft-sql-server-db-backend/2829>\
**Category:** Troubleshooting\
**Created:** [January 30, 2017, 1:50pm UTC](https://forum.mattermost.com/t/microsoft-sql-server-db-backend/2829 "2017-01-30T13:50:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bradhowes](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/bradhowes/32/1060_2.png) [@bradhowes](https://forum.mattermost.com/u/bradhowes)\
**Post date:** [January 30, 2017, 1:50pm UTC](https://forum.mattermost.com/t/microsoft-sql-server-db-backend/2829/1 "2017-01-30T13:50:12Z")

</div>

Has anyone used Microsoft SQL Server for the DB backend to Mattermost? Thanks in advance!

Brad

---

<div class="post-metadata">

**Author:** ![bradhowes](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/bradhowes/32/1060_2.png) [@bradhowes](https://forum.mattermost.com/u/bradhowes)\
**Post date:** [January 31, 2017, 10:40am UTC](https://forum.mattermost.com/t/microsoft-sql-server-db-backend/2829/2 "2017-01-31T10:40:26Z")

</div>

Unfortunately, looking at the code in platform/store/sql\_store.go there are custom data types at call sites for MySQL and PostgresSQL. That makes supporting a new DB rather difficult to do.

Brad

---

<div class="post-metadata">

**Author:** ![jasonblais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jasonblais/32/720_2.png) [@jasonblais](https://forum.mattermost.com/u/jasonblais)\
**Post date:** [February 2, 2017, 1:31am UTC](https://forum.mattermost.com/t/microsoft-sql-server-db-backend/2829/3 "2017-02-02T01:31:28Z")

</div>

Hey @bradhowes, we don’t yet officially support deployment on a Microsoft SQL server.

We have unofficial install guides for Windows server maintained by the community. Maybe that can be of some help, even though the guide assumes you have MySQL or PostgreSQL: [https://docs.mattermost.com/install/prod-windows-2012.html](https://docs.mattermost.com/install/prod-windows-2012.html)

If you’d like to see support for Microsoft SQL server in the future, would you like to [contribute this in the feature idea forum](https://mattermost.uservoice.com/forums/306457-general/) so it can be discussed, upvoted and considered for a [ticket accepting pull requests](http://docs.mattermost.com/process/accepting-pull-request.html)?

Please include a link back to this issue if you do. If you’re interested in implementing, please say so and we’ll prioritize the review.

You get **10** votes in the feature idea forum, and each one influences the future of the project.

---

<div class="post-metadata">

**Author:** ![mike.macarthur](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@mike.macarthur](https://forum.mattermost.com/u/mike.macarthur)\
**Post date:** [March 17, 2017, 2:27am UTC](https://forum.mattermost.com/t/microsoft-sql-server-db-backend/2829/4 "2017-03-17T02:27:12Z")

</div>

I didn’t see one out there, so I added a feature request for SQL Server support: [https://mattermost.uservoice.com/forums/306457-general/suggestions/18641650-add-support-for-sql-server](https://mattermost.uservoice.com/forums/306457-general/suggestions/18641650-add-support-for-sql-server). Thanks!

---

<div class="post-metadata">

**Author:** ![lindy65](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lindy65/32/1811_2.png) [@lindy65](https://forum.mattermost.com/u/lindy65)\
**Post date:** [March 20, 2017, 7:29am UTC](https://forum.mattermost.com/t/microsoft-sql-server-db-backend/2829/5 "2017-03-20T07:29:33Z")

</div>

Fantastic! Thanks @mike.macarthur
