Home > Database > Redis > body text

How to enter the redis database

(*-*)浩
Release: 2019-12-02 09:03:47
Original
4985 people have browsed it

How to enter the redis database

1. Comment out the bound IP in the configuration file redis.conf

How to enter the redis database# 2. Change protected-mode to no in the configuration file redis.conf

How to enter the redis database#3. Set requirepass in the configuration file redis.conf to set the redis access authorization password (just set it yourself). You can also log in to the redis client and use the command to set it: as follows : ./redis-cli config set requirepass 123 //123 is the password

After the above three steps, it is basically enough, but there are special circumstances, the access port No. 6379 may be blocked by the firewall. You need to turn off the system's firewall or cancel the blocking of port 6379. I will not go into details here.

How to enter the redis databaseFor more Redis-related technical articles, please visit the

Redis Getting Started Tutorial

column to learn!

The above is the detailed content of How to enter the redis database. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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