Manages the connection to the local and remote MySQL database where the Hits are stored.