备份 MyISAM 表:
/usr/local/mysql/bin/mysqldump -ubak -p741852 –default-character-set=utf8 –opt –extended-insert=false –triggers -R –hex-blob -x db_name > db_name.sql
备份 Innodb 表:
/usr/local/mysql/bin/mysqldump -ubak -p741852 –default -character-set=utf8 –opt –extended-insert=false –triggers -R –hex-blob –single-transaction db_name > db_name.sql
声明: 此文观点不代表本站立场;转载须要保留原文链接;版权疑问请联系我们。