Redis password and cancel password

----------------
Disclaimer: This article is the original article CSDN bloggers "QingpingのMusic", and follow CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source and link this statement.
Original link: https: //blog.csdn.net/ZZQHELLO2018/article/details/95043574

————————————————

A temporary password

    Obtain the password 
        config get requirepass 
    password 
        config the SET requirepass 123456 
    When a password when the login password is required to log 
        auth password 
    remove password 
        config the SET requirepass ''

Set password
Here Insert Picture Description
at this time login password is not lost will complain
Here Insert Picture Description

Second, permanent password

To the profile settings
requirepass password

Guess you like

Origin www.cnblogs.com/yuanyongqiang/p/11578991.html