Added getters/setters to host,db,user and password in MySQLConnection Added another constructor to QueryThread to take just the MySQLConnection as argument