Now allows database connection in windows. Should save database to a better location. Ignoring that for now.