[MM,VS]{bug fix}debugging Database Connection

Not able to get MySQL connected properly, will have to be refactored to
sqlite