Database Transmission Service
Parameter | Description |
-h | The internal or external network connection address of the MySQL instance. tip For information on how to get the private or public address, refer to Connecting to an instance via private network and Applying for or releasing a public address. |
-P | The port number of the MySQL instance. The port number varies depending on the connection address, as follows:
|
-u | The account name in the MySQL instance. |
-p | The password of the account in the MySQL instance. tip To ensure password security, do not enter the password after -p. You are prompted to enter the password after the command is run. Press Enter after entering the password to log on. If this parameter is filled in, a space is not allowed between -p and password. |
-D | The name of the database to log on to. This parameter is optional. You can omit -D and enter only the database name. |