title: How to upgrade mongo server version?
body: <p>I have ugraded my mongo database from 2.6 to 3.6
  But when  run mongo I have this warning</p>
  
  <pre><code>MongoDB shell version v3.6.4
  connecting to: mongodb://127.0.0.1:27017
  MongoDB server version: 2.6.2
  WARNING: shell and server versions do not match
  </code></pre>
  
  <p>How to upgrade server version to be v3.6.4
  When i google for a result, i always return to pages of installation that i have executed the commands.</p>
  
  <p>Thanks in advance.</p>