def METHOD_NAME(self):
    listing_query = 'SHOW DATABASES'
    mysql_proxy = FakeMysqlProxy()
    try:
        result = mysql_proxy.process_query(listing_query)
        # iterate over result.data and perform a query on each item to get the name of the tables
        if result.type == SQL_RESPONSE_TYPE.ERROR:
            listing_query_response = {
                'type': 'error',
                'error_code': result.error_code,
                'error_message': result.error_message
            }
        elif result.type == SQL_RESPONSE_TYPE.OK:
            listing_query_response = {
                'type': 'ok'
            }
        elif result.type == SQL_RESPONSE_TYPE.TABLE:
            listing_query_response = {
                'data': [{'name': x[0], 'tables': mysql_proxy.process_query('SHOW TABLES FROM `{}`'.format(x[0])).data} for x in result.data]
            }
    except Exception as e:
        listing_query_response = {
            'type': 'error',
            'error_code': 0,
            'error_message': str(e)
        }
    return listing_query_response, 200