Modifying the password of redis.conf does not take effect after restarting

When we set the password for the redis database, we modified the configuration file in the redis.conf file, and then when we
Insert image description here
restarted the service, we found that the configuration did not take effect.
Solution:
First ps aux|grep redis, find the redis process, then kill the process with the kill -9 command, and then restart it with the above command so that the configuration file can take effect.

Guess you like

Origin blog.csdn.net/yang12332123321/article/details/119939818