Complete the code to create a backup of the database named 'shop'.
mysqldump -u root -p [1] > shop_backup.sqlThe command mysqldump with the database name 'shop' creates a backup file.
Complete the code to restore the backup file 'shop_backup.sql' into the 'shop' database.
mysql -u root -p [1] < shop_backup.sqlThe command restores the backup into the 'shop' database by specifying its name.
Fix the error in the backup command to correctly save the 'inventory' database.
mysqldump -u root -p [1] > inventory_backup.sqlThe database name must be exactly 'inventory' to backup the correct database.
Fill both blanks to create a backup of the 'sales' database and save it as 'sales_backup.sql'.
mysqldump -u [1] -p [2] > sales_backup.sql
The user is 'root' and the database to backup is 'sales'.
Fill all three blanks to restore the 'customers_backup.sql' file into the 'customers' database using user 'admin'.
mysql -u [1] -p [2] < [3]
User 'admin' restores the backup file 'customers_backup.sql' into the 'customers' database.