redis的配置问题

错误信息:Invalid argument during startup: unknown conf file parameter :  requirepass

redis本身的配置文件:

# use a very strong password otherwise it will be very easy to break.
# requirepass test
# Command renaming.

出现上面那种错误信息是因为你只去掉了一个#,但是#后面的空格没有去掉,类似:

# use a very strong password otherwise it will be very easy to break.
 requirepass test
# Command renaming.

只要把剩余的那个空格去掉就可以了。

 

posted @ 2017-08-03 16:31  kasher  阅读(300)  评论(0编辑  收藏  举报