Abstract Connection class for connection to a mysql DataBase