Shopware accesses wrong database

Hi,

I have two instances of shopware running, one lying in a directory called “stage” inside the other.
Both have their own database assigned in their config.php, but still the “live”-instance uses the “stage”-database. I cleared var/cache, but still.

Where else can I check if not the config.php?

Thanks in advance
Niko

My bad, had the wrong base path in .htaccess  Foot-in-Mouth