Which of the following options tells mysql to ask for entering the password?
(a) -e
(b) -p
(c) -u
(d) -h
(a) -e
(b) -p
(c) -u
(d) -h
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.