# Why mattermost-webapp required MySQL as well as Postgress databse?

**URL:** <https://forum.mattermost.com/t/why-mattermost-webapp-required-mysql-as-well-as-postgress-databse/9588>\
**Category:** Troubleshooting\
**Created:** [April 23, 2020, 2:23pm UTC](https://forum.mattermost.com/t/why-mattermost-webapp-required-mysql-as-well-as-postgress-databse/9588 "2020-04-23T14:23:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajkirpalsih](https://avatars.discourse-cdn.com/v4/letter/r/bc79bd/32.png) [@rajkirpalsih](https://forum.mattermost.com/u/rajkirpalsih)\
**Post date:** [April 23, 2020, 2:23pm UTC](https://forum.mattermost.com/t/why-mattermost-webapp-required-mysql-as-well-as-postgress-databse/9588/1 "2020-04-23T14:23:02Z")

</div>

I am setting up my developer machine (Windows-8) based on the steps provided on the  
[[https://developers.mattermost.com/contribute/developer-setup/](https://developers.mattermost.com/contribute/server/developer-setup/)]  
but when I run the command : make run-server  
the postgress is not listening on the 5432 port.  
Can I remove postgress specific lines from the docker-compose.yaml file and from other respective files?  
Why do we need mysql as well as postgress database ?

Help me to setup my local machine enviromnet to make the webapp up.  
Following the provided steps on the given link is not working.  
Is there any change in the steps to follow ?

---

<div class="post-metadata">

**Author:** ![jesse](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jesse/32/5168_2.png) [@jesse](https://forum.mattermost.com/u/jesse)\
**Post date:** [April 23, 2020, 7:00pm UTC](https://forum.mattermost.com/t/why-mattermost-webapp-required-mysql-as-well-as-postgress-databse/9588/2 "2020-04-23T19:00:30Z")

</div>

@rajkirpalsih, this is just an artifact of our development environment, in which we run unit tests that execute on both MYSQL and Postgres. You are free to modify the docker-compose.yml files accordingly. The webapp should start up so long as your server is running succesfully.

---

<div class="post-metadata">

**Author:** ![rajkirpalsih](https://avatars.discourse-cdn.com/v4/letter/r/bc79bd/32.png) [@rajkirpalsih](https://forum.mattermost.com/u/rajkirpalsih)\
**Post date:** [April 24, 2020, 10:54am UTC](https://forum.mattermost.com/t/why-mattermost-webapp-required-mysql-as-well-as-postgress-databse/9588/4 "2020-04-24T10:54:41Z")

</div>

Hi Jesse,  
I have checkout the server from the github. I am following the steps given on the below link:  
[https://developers.mattermost.com/contribute/server/developer-setup/](https://developers.mattermost.com/contribute/server/developer-setup/)  
when I execute : make run-server  
command I get the screen I have attached with this

 ![Status](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/a/a6a2fe0c27d855a8a33af5b514873bd8e400dbd7.png)  
How can I know server is running or not ?  
I tried to access : crul [http://localhost:8065/v4/system/ping](http://localhost:8065/v4/system/ping)  
but it give connection refused.

Is there any other way to bring the server up in windows machine?

---

<div class="post-metadata">

**Author:** ![jesse](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jesse/32/5168_2.png) [@jesse](https://forum.mattermost.com/u/jesse)\
**Post date:** [April 27, 2020, 5:47pm UTC](https://forum.mattermost.com/t/why-mattermost-webapp-required-mysql-as-well-as-postgress-databse/9588/5 "2020-04-27T17:47:09Z")

</div>

Hi @rajkirpalsih!

I don’t use Windows myself, but I’ve heard nothing but pain from developers who try to use PowerShell directly. I’d recommend trying the WSL setup and seeing if that works better.
