Home >Database >Redis >How to start and connect redis

How to start and connect redis

尚
forward
2020-03-16 09:21:512363browse

How to start and connect redis

1. Redis startup

Recommended: redis introductory tutorial

Enter cmd - enter the Redis directory - enter redis -server.exe redis.windows.conf

How to start and connect redis

2. Redis connection

Keep the startup window and reopen another cmd window-enter the Redis installation directory ——Enter redis-cli (no password)

PING to check whether to connect to the service

How to start and connect redis

Related recommendations:

mysql Video tutorial: https://www.php.cn/course/list/51.html

The above is the detailed content of How to start and connect redis. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:cnblogs.com. If there is any infringement, please contact admin@php.cn delete