title: How to extract data from mysql to a csv file?
body: <p>I need to extract some data from a mysql database. I need to extract it to a csv file.
  It is only certain data I need from the db. Can I use mysqldump?</p>
  
  <p>I need to do it from a customized backend. A button is created and when clicking that button it should extract certain data from the DB in a csv file.</p>