I had to find a way to dump ONLY the stored procedures from a mysql database. Here is how I did it.
PS. This is the shortest post that I ever made. :)
mysqldump --routines --no-create-info --no-data --no-create-db --skip-opt "databasename" > stored_procedure.sql
PS. This is the shortest post that I ever made. :)