Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: curs.execute (""" INSERT INTO gmaptracker (lat, lon) VALUES (0.0,0.0)""") d.commit() # Connect to the mySQL Database def tServer(): try: db = MySQLdb.connect (host = "localhost", user = "valentin_rchb", passwd = "Valluc1996", db = "gmap" ) except (MySQLdb.Error, e): print ("Error %d: %s") %(e.args[0], e.args[1]) sys.exit(1); cursor = db.cursor() # Start […]
↧