Home > Databases > Quizzes > MySQL Basics Practice Test: Database Copies
MySQL Basics Practice Test: Database Copies
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 75% Most missed: “Which type stores the longest length of strings?”
Here are some steps to copy a MySQL database: Create a new database using the CREATE DATABASE statement Export all database objects and data using the mysqldump command Import the SQL dump file into the new database using the mysql tool  Here's an example of copying a database from one server to another: On Server 1, run the following command: $> mysqldump --databases db1 > dump.sql Copy the dump file from Server 1 to Server 2 On Server 2, run the following command: $> mysql < dump.sql  You can also copy a MySQL table using dbForge Studio for MySQL. Here's how: Right-click the table... Show more
MySQL Basics Practice Test: Database Copies
Time left 00:00
7 Questions

1. The security context when a user creates a stored program that accesses sensitive data but forgets that other people who can invoke the object have the same access is __________
2. Which option is used in mysqldump to make all tables in the destination databases to use a different storage engine?
3. Which privileges are required on the source server to use mysqldbcopy?
4. The function that returns reference to hash of row values is ____________
5. Which type stores the longest length of strings?
6. The program that copies the databases from one server to another is ____________
7. The best datatype for a column that is expected to store values up to 2 million is _________