Home  >  Article  >  Database  >  What should I do if it crashes after opening redis under windows?

What should I do if it crashes after opening redis under windows?

王林
王林forward
2021-01-15 09:22:089335browse

What should I do if it crashes after opening redis under windows?

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

What should I do if it crashes after opening redis under windows?

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:

What should I do if it crashes after opening redis under windows?

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!

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