def _get_db_connect(dbSystem,db,user,password):
    """Create a connection to the database specified on the command line
    """
    if dbSystem=='SYBASE':
        import Sybase    
        try:
            dbh = Sybase.connect(dbSystem,
                                 user,
                                 password,
                                 database=db )
        except:
            dbh=None
    elif dbSystem=='MYSQL':
        import MySQLdb
        try:
            dbh = MySQLdb.connect(user=user,
                                  passwd=password,
                                  db=db ,
                                  host='gimli')
        except:
            dbh=None
            
    return dbh
Create a connection to the database specified on the command line