check the database password