Finally Implemented MySQL Database Connection