Fix Database configuration