A connection class with a MySQL database