Established a Database Connection