Mysql Command

 

 
show engines  --show engines
show variables like '%storage_engine%';  --to show default engine
 
#mysql export data without triggers
  mysqldump --skip-triggers  -uroot  mts > mts_without_triggers.sql
#mysql export only triggers
  mysqldump --no-create-info --no-create-db --skip-opt --no-data  -p -uroot mts>triggers.sql
 
mysql   -uroot mts<triggers.sql

你可能感兴趣的:(command,msyql)