MySQL server client tool
The mysql command is a client tool for the MySQL database server. It runs in a command-line terminal to perform operations on local or remote MySQL database servers.
mysql [options] [database]
-h: Hostname or IP address of the MySQL server.
-u: Username used to connect to the MySQL server.
-e: Execute a MySQL command and quit.
-p: Password used to connect to the MySQL server.
Database: Specifies the database to be automatically opened after connecting to the server.