Logo ROOT  
Reference Guide
sqlcreatedb Namespace Reference

Variables

 db = TSQLServer.Connect("mysql://localhost/test", "nobody", "")
 fp = open("runcatalog.sql", "r")
 res = db.Query("DROP TABLE runcatalog")
 sql = fp.read()

Variable Documentation

◆ db

sqlcreatedb.db = TSQLServer.Connect("mysql://localhost/test", "nobody", "")

Definition at line 21 of file sqlcreatedb.py.

◆ fp

sqlcreatedb.fp = open("runcatalog.sql", "r")

Definition at line 16 of file sqlcreatedb.py.

◆ res

sqlcreatedb.res = db.Query("DROP TABLE runcatalog")

Definition at line 24 of file sqlcreatedb.py.

◆ sql

sqlcreatedb.sql = fp.read()

Definition at line 17 of file sqlcreatedb.py.