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

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

王林
Release: 2021-01-15 09:22:08
forward
9389 people have browsed it

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
Copy after login

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!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template