The Redis WordPress plugin (wp-redis) uses SELECT to connect to a database. Older versions of this plugin (<0.8.0) also use FLUSHALL instead of FLUSHDB to flush the cache. See https://github.com/pantheon-systems/wp-redis