Examveda

Which of these is not used to connect to the MySQL server?

A. mysql

B. mysqladmin

C. mysqlcheck

D. mysql_upgrade

Answer: Option D

Solution (By Examveda Team)

This question is about how we talk to the MySQL database. Imagine MySQL as a giant library, and we need a way to get into it and find the books (data) we need.

mysql is like the key we use to enter the library (connect to the server).
mysqladmin helps us manage the library (server) itself, like checking its status or changing its settings.
mysqlcheck is a tool to check the health of the books (tables) in the library, making sure they are in good condition.
mysql_upgrade is used to update the library system itself (database).

So, which of these is NOT used to connect to the server? The answer is Option C: mysqlcheck, because its job is to check the database, not to actually connect to it.

This Question Belongs to MySQL >> MySQL Miscellaneous

Join The Discussion

Related Questions on MySQL Miscellaneous