Examveda

On UNIX, statements entered in 'MySQL' are saved in which file?

A. .mysql_queries

B. .queries

C. .mysql_history

D. .history

Answer: Option C

Solution (By Examveda Team)

This question is about how MySQL on UNIX systems keeps track of the commands you've entered.
Think of it like a notepad for your SQL commands.
Whenever you type something into MySQL, it's like writing in this notepad.
The question asks what the name of this notepad file is.
Out of the options given, .mysql_history is the correct answer.
This file is where MySQL stores the commands you've executed.
You can access this history to easily re-run previous commands.
The other options are not used for this purpose.

This Question Belongs to MySQL >> MySQL Miscellaneous

Join The Discussion

Related Questions on MySQL Miscellaneous