Skip to main content

SDK Configuration

Integrating MySQL & MariaDB within your Python application is seamless. Utilize the Arivu.connect() static factory.
from arivu import Arivu

db = Arivu.connect(
    dialect="mysql",
    host="127.0.0.1",
    port=3306,
    user="root",
    password="password",
    dbname="customer_data"
)
Setting mode="user" prevents Arivu from executing destructive SQL operations (like DROP or UPDATE). They will instead be held in an approval queue.