Background of the article:
First I decompressed the installation-free version of the window version of redis, and then directly double-clicked redis-server.exe to start redis or find it in the command prompt Path starts. But when I double-clicked redis-server for the second time, a crash occurred.
(Learning video sharing: redis video tutorial)
The solution is as follows:
Step one: Create a new one under the decompressed redis folder start.bat (window startup is usually xx.bat)
The second step: open the redis.windows.conf file and limit the memory
The third step Step: Add the following sentence to the newly created start.bat file (because these two files are needed to start redis)
redis-server.exe redis.windows.conf
After completing the above three steps, save and double-click start.bat to start. The successful startup is as follows:
Related recommendations: redis database tutorial
The above is the detailed content of What should I do if it crashes after opening redis under windows?. For more information, please follow other related articles on the PHP Chinese website!