title: Paths to mysqldump on windows and linux
body: <p>I begin to creating some php script that make MySQL backup of database using codeigniter framework. But, i have a problem: how to know paths to mysqldump on windows or linux, because I find that mysqldump work on windows only if add full directory address where is this placed for example "D:\xampp\mysql\bin\mysqldump" and in linux is enought "mysqldump" and then add parameters to connect to database.
  Can you help me?</p>