MYSQL export PROCEDURE only from database


Here is how to export PROCEDURE from MySQL database :

1
mysqldump -u USERNAME -pPASSWORD –routines –no-create-info –no-data –no-create-db –skip-opt YOUR_DATABASE > test.txt

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.