MAC崩溃后电脑重启
手动使用命令
redis-server
重启redis服务后,Medis客户端可以链接redis。
但是springboot项目报错如下:
ERR AUTH <password> called without any password configured for the default user. Are you sure your configuration is correct?
这是由于启动redis时候没有使用redis.conf配置文件中的requirepass参数
正确开启redis的方法如下:
redis-server redis.conf