title: How to check if MongoDB server is running in pc
body: <p>I wanted to check if my MongoDB server is running.</p>
  
  <p>I am following a tutorial in thinkster.io about the <a href="https://thinkster.io/mean-stack-tutorial#creating-schemas-with-mongoose" rel="nofollow">MEAN stack tutorial.</a></p>
  
  <blockquote>
    <p>Our first step in making a persistent data store is to configure our data models. To do this, we are going to be adding a schema layer on top of MongoDB using a nice library called Mongoose. Before we begin, let's make sure our MongoDB server is running.</p>
  </blockquote>
  
  <p>I tried many things but I didn't know what to do. My main question is whether you have to start the server and then open another cmd and type<br>
  <code>mongod &amp;</code> or<br>
  stop the server and then type<br>
  <code>mongod &amp;</code> or
  when the server is running just type<br>
  <code>mongod &amp;</code> in the same cmd without stopping the server or starting another cmd.</p>