MySQL Database Operations
- What is the special database that always exists after setting up MySQL in a computer?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
After installation of MySQL, ‘information_schema’ is the special database that always exists. ‘mysql’ can be seen depending on access rights. It holds the grant tables. ‘sampdb’ and ‘readme_db’ do not exist by default.
- When relocating an individual table, the table to be relocated should be ______________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
The relocation of an individual table is supported only under certain limited circumstances. When relocating an individual table, the table to be relocated should be a MyISAM table.
- Before relocation of database, the server should be stopped if running.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
The server always looks for the database directories in the data directory. The only way to relocate a database is by the symlink method. The server should be stopped if running.
- For which of these is the startup option best suited?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
The startup option is better suited relocation method for server PID file and the log files, while symlink is an applicable relocation method for the individual database tables.
- Symlink is an applicable relocation method for ______________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Symlink is an applicable relocation method for the individual database tables. However, the startup option is better suited relocation method for server PID file and the log files.