Which of the following options tells mysql to ask for entering the password?
A. -e
B. -p
C. -u
D. -h
Answer: Option B
Solution (By Examveda Team)
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
Related Questions on MySQL Miscellaneous
How is communication established with MySQL?
A. SQL
B. Network calls
C. A programming language like C++
D. APIs
Which type of database management system is MySQL?
A. Object-oriented
B. Hierarchical
C. Relational
D. Network
Join The Discussion