SQL query works in console but not in python

后端 未结 2 1051
栀梦
栀梦 2021-01-25 02:24

Hi im having issues with a sql query it works perfect in console, but when i implement into python it seems to work perfect no errors but when i check the database it hasnt work

相关标签:
2条回答
  • 2021-01-25 03:09

    Been there :) you need to close the cursor

    0 讨论(0)
  • 2021-01-25 03:20

    connection.autocommit(), or you need to do connection.commit()

    0 讨论(0)
提交回复
热议问题