Save database dump

PHOTO EMBED

Mon Oct 04 2021 14:33:05 GMT+0000 (UTC)

Saved by @dphillips #mysql

mysqldump --opt --no-tablespaces --compress -u <username> -p [-h <hostname>] -r <dumpfile.sql> <database>


# mysqldump [--no-tablespaces] --default-character-set=utf8 -e -u $USER -p $DBNAME > /path/to/file.sql
content_copyCOPY