title: Lightweight database (SQL or NoSQL)
body: <p>I'm currently working on a website that must exist on a VM with very low memory availability (at the moment I am told to expect 512mb). Unfortunately, at least in the immediate future, the database and web application must be the same server.</p>
  
  <p>Now I've read through some questions here and tried to do my own research but there are just so many options to choose from. Essentially, what will be a light enough database server that I can install? SQL or NoSQL doesn't really matter; it won't be database intensive but I would like to not be constraint with whatever I choose now. Meaning, if possible, a path towards multi-server scaling would be great but obviously not a requirement at this stage.</p>
  
  <p>My current thoughts are either MongoDB or MySQL but I'm not sure if those are the best choices.</p>
  
  <p>My web application is running on nginx with PHP which I think is the best choice for now so my main concern is the database side.</p>