You used the -n 1
parameter, which indicates using database number 1. Redis has 16 databases by default, numbered from 0 to 15. If you want to use the first database, it might be -n 0
instead of -n 1
. Please check if your data is stored in database number 1.