lukasz I would first check for upper/lowercase mix, also make sure that that the databse name, if send between double quotes matches exactly the case of the original db name.
If all lowercase no double quotes needed, if uppercase or mix then you must use double quotes