1. Redis startup
Recommended: redis introductory tutorial
Enter cmd - enter the Redis directory - enter redis -server.exe redis.windows.conf
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
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!