mysql - Restore Only few store procedure from mysqldump -
i've dump sizing 14gb, want extract procedures whole dump (structure , data). there option in mysql. i'm using mysql 5.1 in windows 7.
mysql -u root -p "option here " < mydump.sql
just copy parts whant recreate dump new file using notepad++ or similar programs , run new scrit against server
dump procedures:
mysqldump <other mysqldump options> --routines outputfile.sql dump store procedures , triggers
mysqldump --routines --no-create-info --no-data --no-create-db --skip-opt <database> > outputfile.sql
Comments
Post a Comment