Fix when connecting to none password database