resolvent:
Find your redis installation path:
Start redis server Exe
After successful startup:
Restart project resolution.
———————————————————————->Here’s the point:<——————————————————————-
Here, if you close the redis command window, the project console will report an error. If you restart the project, the same error will be reported at the beginning,
The reason is:
It is inconvenient to turn off redis when you turn off CMD. At this time, you can use the following methods:
Also open the redis installation path:
Press enter to enter the root directory:
- Install redis as a Windows service and start it automatically after startup. Solutions:
- Run redis server –service install redis windows. After the conf command is installed, you can see that redis has been used as a Windows service. However, redis has not been started after the installation. The startup command is as follows:
- Start command: redis server –service start
The above specific setting steps:
Copy command: redis server –service install redis windows. Conf enter
Then copy the command: redis server –service start enter
After setting successfully, you can close the command window, and then start the project without any error