Multiple choice technology databases

Which one is mysql configuraion file?

  1. /etc/my.conf

  2. /etc/my.cnf

  3. /etc/mysq.conf

  4. /etc/mysql.cnf

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

MySQL's configuration file on Unix/Linux systems is named 'my.cnf' and is typically located in /etc/. The file contains server settings including port, data directory, buffer sizes, and other operational parameters. Options A and C have incorrect filenames ('my.conf', 'mysq.conf'), while D adds 'mysql' prefix unnecessarily.