tfx.v1.orchestration.metadata.mysql_metadata_connection_config
Convenience function to create mysql-based metadata connection config.
tfx.v1.orchestration.metadata.mysql_metadata_connection_config(
host: str, port: int, database: str, username: str, password: str
) -> metadata_store_pb2.ConnectionConfig
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-03 UTC.
[null,null,["Last updated 2024-05-03 UTC."],[],[]]