Database Class: Couldn't connect to mysql server