raise err.ProgrammingError("Cursor closed") pymysql.err.ProgrammingError: Cursor closed

#22 · open · 0 comments

View on GitHub ↗

mupciamkotki

raise err.ProgrammingError("Cursor closed") pymysql.err.ProgrammingError: Cursor closed Not sure what's wrong with cur as cursor: pool.init() sql = "INSERT INTO users (email, password) VALUES (%s, %s)" cur.execute(sql, (email, password)) pool.release(connection) edit it was due to it being in with block, but now it works for a few threads and I still get packet sequence error

Comments