Q152
In which file are the statements entered in 'mysql' saved?
A.
.mysql_queries
B.
.queries
C.
.mysql_history
AnswerD.
.history
Answer: Option C
Solution
Answer: Option C
Solution:
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.