noc.core.etl.extractor.mysql

Module Contents

class noc.core.etl.extractor.mysql.MySQLExtractor(*args, **kwargs)

Bases: noc.core.etl.extractor.sql.SQLExtractor

Mysql SQL extractor. Requres pymysql

Configuration variables MYSQL_HOST - Mysql host MYSQL_PORT - Mysql port MYSQL_USER - Mysql database user MYSQL_PASSWORD - Mysql database password MYSQL_DB - Mysql database MYSQL_CHARSET - Mysql charset

get_cursor(self)
iter_data(self)