check connection of db and url