How to configure redis object cache for multiple sites in the same server without errors

I had the same issue lately and you need to configure WP_REDIS_PREFIX in wp-config.php

define( 'WP_REDIS_PREFIX', 'your_unique_key_for_each_wp_instance_' );

for each WP site. This solved my case.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)