Home » MYSQL » Mysql Setup » Question
  1. What is the host name in the following command?
    mysql -h interview.mania.com -p -u sampadam
    1. interview.mania.com
    2. mania
    3. interview
    4. interview.mania
    5. None of these
Correct Option: A

The ‘-h’ option specifies the hostname of the server. The ‘interview.mania.com’ is the complete host name. The ‘-p’ option prompts for the account’s password and ‘-u’ specifies the user name.



Your comments will be displayed only after manual approval.