Home  >  Q&A  >  body text

python - pymysql操作数据库成功,但为何检查了数据库那边,数据没有更新的?

高洛峰高洛峰2741 days ago502

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2017-04-18 10:30:08

    sql = "INSERT tb1(username) VALUES('name11')"

    or:

    sql = "INSERT into tb1(username) VALUES('name11')"
    

    It all works, there are no errors, is it because the database is not refreshed

    reply
    0
  • Cancelreply