Examveda

In which file are the statements entered in 'mysql' saved?

A. .mysql_queries

B. .queries

C. .mysql_history

D. .history

Answer: Option C

Solution (By Examveda Team)

This question asks where MySQL saves the commands you type in the 'mysql' command-line tool.

Think of it like a notepad for your SQL commands. When you type something and press enter, MySQL remembers it.

Out of the options, .mysql_history is the file where MySQL keeps a record of your recent commands.

So the correct answer is Option C: .mysql_history.

This Question Belongs to MySQL >> MySQL Miscellaneous

Join The Discussion

Related Questions on MySQL Miscellaneous