링크: http://www.ducea.com/2007/07/25/dumping-mysql-stored-procedures-functions-and-triggers/


function, Procedure Backup

mysqldump --routines --no-create-info --no-data --no-create-db --skip-opt <database> > outputfile.sql


trigger 제외시키기

mysqldump --routines --no-create-info --no-data --no-create-db --skip-opt --skip-triggers <database> > outputfile.sql


'DB / NoSQL > MariaDB/MySQL' 카테고리의 다른 글

[MySQL] MySQL Cursor  (0) 2014.10.16
[MySQL] 13.5 SQL Syntax for Prepared Statements  (0) 2014.10.16
[MySQL] Update Join  (0) 2014.07.30
[MySQL] Workbench의 Update Delete시 Error Code 1175  (0) 2014.05.19
[MySql] 사용자 생성  (0) 2014.04.02
posted by 뚱2