Examveda

What is 'tamp' in the following MySQL command?
mysql -h xyz.host.try.net -p -u tamp

A. user name

B. password

C. host name

D. table name

Answer: Option A

Solution (By Examveda Team)

This MySQL command is used to connect to a MySQL database. Let's break down the parts:

mysql: This is the command used to start the MySQL client.
-h xyz.host.try.net: This specifies the host name or IP address of the MySQL server.
-p: This tells the client to prompt for the password.
-u tamp: This is where we find the user name, which is tamp in this case.

Therefore, the answer is Option A: user name.

This Question Belongs to MySQL >> MySQL Miscellaneous

Join The Discussion

Related Questions on MySQL Miscellaneous