title: how to copy mysql DB from localhost to server using php?
body: <p>I have a php project running in my local machine(angular,php,mysql).Same copy of project running in online.
  My Aim is to Sync(copy local db  to server db) every one hour by running any PHP Script using angular 'set Interval' function.
  What is the IDEA behind this functionality should i use?
  or how i will achieve this ?
  Any suggestions will be great help for me, 
  and Thanks in advance.</p>