metad.connectors.mysql module¶
Classes
|
Import data from MySQL instances. |
-
class
metad.connectors.mysql.
MySQLConnector
(host, port, user, password, database)[source]¶ Bases:
metad.connectors.base.BaseConnector
Import data from MySQL instances.
The MySQLConnector allows you to import data from a MySQL instance by translating the data types and exporting the primary / foreign key constraints from the schema table.
Methods
export_metadata
(path_to_json)Write the metadata to a JSON file.
export_tables
(path_to_output)Write the tables to CSV files.