1.

Which of the following options tells mysql to ask for entering the password?(a) -e(b) -p(c) -u(d) -hThis question was addressed to me by my college director while I was bunking the class.My question is taken from MySQL Setup topic in portion General MySQL Use of MySQL

Answer»

The correct answer is (b) -P

Best explanation: The COMMAND ‘mysql -p’ (ALTERNATIVE FORM: –password) prompts for the password. ‘-h’ (alternative form: –host) specifies the host where the MySQL SERVER is running. ‘-u’ is for specifying the username.



Discussion

No Comment Found

Related InterviewSolutions