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

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -