标签:【澳门新葡亰下】
  • python通过参数方式向mysql中添加数据

    python通过参数方式向mysql中添加数据

    标签:澳门新葡亰下 2019-06-16
    #!/usr/bin/pythonimport MySQLdb# Open database connectiondb = MySQLdb.connect("localhost","testuser","test123","TESTDB" )# prepare a cursor object using cursor() methodcursor = db.cursor()# Prepare SQL query to INSERT a record into the data...
共1页/1条