Skip to content

featurebyte.MySQLOnlineStoreDetails

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

Description

Configuration details for MySQL online store.

Parameters

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

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

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

  • database: StrictStr
    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"
...   )
... )