code: def getDatabases(self):
          
          cur = self._conn.cursor()
          cur.execute("""SHOW DATABASES;""")
          rows = cur.fetchall()
          if rows:
              return [row[0] for row in rows]
          else:
              return []
docs: Returns list of databases.
          
          @return: List of databases.