def share_config(dbdriver, dbtype, dbhost, dbuser, dbpasswd, testdb):
 global DBDRIVER, DBTYPE, DBHOST, DBUSER, DBPASSWD, TESTDB, DBSCHEMA
 global SYSTEM, SQL_FILE
 DBDRIVER = dbdriver
 DBTYPE = dbtype
 DBHOST = dbhost
 DBUSER = dbuser
 DBPASSWD = dbpasswd
 TESTDB = testdb

def share_config ( dbdriver , dbtype , dbhost , dbuser , dbpasswd , testdb ) : global DBDRIVER , DBTYPE , DBHOST , DBUSER , DBPASSWD , TESTDB , DBSCHEMA global SYSTEM , SQL_FILE DBDRIVER = dbdriver DBTYPE = dbtype DBHOST = dbhost DBUSER = dbuser DBPASSWD = dbpasswd TESTDB = testdb
make sure we can access the db settings from this file .