Connecting
Connecting with the cdata.mariadb Module:
The connector's module is used directly to establish a connection with the data source. It does this by using a connection string as its argument. For example:import cdata.mariadb as mod conn = mod.connect("User=myUser;Password=myPassword;Database=NorthWind;Server=myServer;Port=3306;")
Once the connection is created, you can use it to execute subsequent SQL queries.