Download remote mysql dump to local using python script

  • Posted on: 8 September 2015
  • By: Sakib Iqbal

Working in the web application development, we often need to take a mysql dump at the local, and transfer it into our local for development. Many people dose this in many ways. Off course the server configuration could be differ server to server; environment to environment. The most common (although nothing is common in this ever changing world) environment we work with is a server with ssh, where apache serves mysql, we can dump sql file with mysqldump command. To download a sql file in such environment, is not complicated, but has to follow certain steps. It can be a pain in the ass, if we need to do it simultaneous. I tried to make this task in one step using a python script.  Read more about Download remote mysql dump to local using python script

Pages