I am currently using Heidi sql to manage and administer a MySQL database. It has the option to export the database data and structure to a .sql text file. However there is no option to export the stored procedures.

Does any one know how you can export all the stored procedures to a .sql file?