title: Mongodb PHP driver: how to create database and add user to it?
body: <p>so using the mongodb shell, I was able to create a database and add a username and password to it. How can I do the same in php? I have everything installed and able to connect to mongodb server.</p>
  
  <p>However, I can't find any information in <a href="http://www.php.net/manual/en/mongo.tutorial.php" rel="nofollow noreferrer">the doc</a>.</p>