How to backup Stored Procedures in MySQL?

Type this on SSH / command line

mysqldump -u username -p database_name --routines > /home/asim/database_backup_with_procedures.sql

Type in the password when prompted.

P.S. Replace username with actual mysql username and database_name with actual database name.

Related posts:

  1. Using CPanel/WHM API to get detail list of all accounts
  2. Intall Apache, MySQL and PHP on Ubuntu 8.10
  3. Download files from a http authenticated directory using wget
  4. Intall Apache, MySQL and PHP on Ubuntu – Part 2

One thought on “How to backup Stored Procedures in MySQL?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>