. User() function return the current user name and ___________
Correct answer
B. host name
16 views
B. host name
16 views
The USER() function returns the current MySQL user name together with the host name the client connected from, in the form user@host — for example root@localhost.
It never returns a password. CURRENT_USER() is related but shows the account MySQL actually used to authenticate you.
Want more practice? Try the full set of Database Management Systems MCQs on MCQsExam.com.
Not sure why the answer is B? Ask here and get an explanation.