Skip to content

featurebyte.MySQLOnlineStoreDetails

class MySQLOnlineStoreDetails(
*,
type: Literal["mysql"]="mysql",
credential: Optional[UsernamePasswordCredential]=None,
host: str="localhost",
database: str,
port: int=3306
)

Description

Configuration details for MySQL online store.

Parameters

  • type: Literal["mysql"]
    default: "mysql"

  • credential: Optional[UsernamePasswordCredential]
    MySQL user and password.

  • host: str
    default: "localhost"
    MySQL connection host.

  • database: str
    MySQL connection database.

  • port: int
    default: 3306
    MySQL connection port.

Examples

>>> details = fb.MySQLOnlineStoreDetails(
...     host="localhost",
...     database="database",
...     port=3306,
...     credential=fb.UsernamePasswordCredential(username="user", password="password"),
... )