简体   繁体   中英

Mysqldump error in Aws EC2 Instance

Instance details: Aws Linux instance

My database contain 1680 individual tables I'm trying to export database in phpmyadmin it failed and i'm trying below command to export db file at end of execution only partial db file created

mysqldump -u root -p password exampledb > /var/www/html/exampledb.sql

最后,gzip压缩可以帮助我进行完整的数据库转储,而不会出现任何错误。

mysqldump -u user -p exampledb |gzip> /var/www/html/exampledb.sql.gz

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM