'Create the database connection
TODO: finish (begin :) ) error catch and conf parameters...'

def connect_database(self):

    connstr = ('%s/%s@%s' % (self.user, self.password, self.database))
    self.db = connect_function(connstr)
    self.db_cursor = self.db.cursor()
    self.db_cursor.arraysize = 50
