D:\\Temp\\Redis-x64-3.2.100
.cd /d <path>
path
is the installation directory of redis-cli. For example, run cd /d D:\\Temp\\Redis-x64-3.2.100
.redis-cli -h <hostname> -p <port> -a <password>
hostname
is the public network address of the database instance, port
is the port of the public network address, and password
is the default password of the instance account. If you use a custom account for connection, use account name@password
as the password parameter for authentication.
An execution example is as shown below:
Parameter | Description |
Name | The name of the connection to the database instance. |
Address | Public network address and port number of the database instance. |
Verification | Database instance connection password. If you use the default account, directly enter the instance password. If you use a custom account, enter account name@password for authentication. |
wget https://download.redis.io/releases/redis-6.2.6.tar.gz
tar -zxvf redis-6.2.6.tar.gz
cd redis-6.2.6/
make
src/redis-cli -h <hostname> -p <port> -a <password>
hostname
is the public network address of the database instance, port
is the port of the public network address, and password
is the default password of the instance account. If you use a custom account for connection, use account name@password
as the password parameter for authentication.
Was this page helpful?