colinmollenhour / Cm_Cache_Backend_Redis

A Zend_Cache backend for Redis with full support for tags (works great with Magento)
Other
389 stars 142 forks source link

The redis database could not be selected. #94

Closed woolkan closed 9 years ago

woolkan commented 9 years ago

In Magento I get error 500 and in /var/report message "The redis database could not be selected.";i:1;s:1593:"#0 /home/www/lib/Cm/Cache/Backend/Redis.php(117): Zend_Cache::throwException('The redis datab...').

Could you help me to find solution for this problem?

colinmollenhour commented 9 years ago

Make sure the redis config has specified the correct number of databases and confirm that the command works with redis-cli.