tfx.orchestration.metadata.mysql_metadata_connection_config

View source on GitHub

Convenience function to create mysql-based metadata connection config.

tfx.orchestration.metadata.mysql_metadata_connection_config(
    host,
    port,
    database,
    username,
    password
)

Args:

  • host: The name or network address of the instance of MySQL to connect to.
  • port: The port MySQL is using to listen for connections.
  • database: The name of the database to use.
  • username: The MySQL login account being used.
  • password: The password for the MySQL account being used.

Returns:

A metadata_store_pb2.ConnectionConfig based on given metadata db uri.