ExamVeda
Login
Home
This question belongs to MySQL MySQL Miscellaneous
MySQL Miscellaneous
?

Which of the following options tells mysql to ask for entering the password?

Answer & Solution
Correct Answer: Option B
This question is asking about how to tell MySQL to prompt you for your password when you're connecting to it.

Here's the breakdown of each option:

* -e : This option is used to execute a command directly from the command line.
* -p : This option is the correct answer! It tells MySQL to ask you for your password before establishing a connection.
* -u : This option is used to specify the username you want to connect with.
* -h : This option is used to specify the hostname or IP address of the MySQL server you want to connect to.

So the answer is Option B: -p
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.