Complete the code to dump a database named 'shopdb' using mysqldump.
mysqldump -u root -p [1] > backup.sqlThe database name to dump is 'shopdb'. It goes right after the user options.
Complete the code to dump only the 'customers' table from 'shopdb'.
mysqldump -u root -p shopdb [1] > customers_backup.sqlTo dump a specific table, write its name after the database name.
Fix the error in the command to dump all databases.
mysqldump -u root -p [1] > alldb_backup.sqlThe correct flag to dump all databases is '--all-databases' with two dashes and a hyphen.
Fill both blanks to dump the 'shopdb' database with routines and triggers.
mysqldump -u root -p [1] --[2] > shopdb_full_backup.sql
To dump the 'shopdb' database and include stored routines, use the database name and the '--routines' flag.
Fill all three blanks to dump the 'shopdb' database, including triggers and routines.
mysqldump -u root -p [1] --[2] --[3] > shopdb_complete.sql
To dump 'shopdb' with triggers and routines, use the database name and the flags '--triggers', '--routines'.