Traceback (most recent call last):
File "C:/Users/jlaughlin/Documents/tmp/oursqltest.py", line 6, in <module>
print curs.fetchall()
File "cursor.pyx", line 228, in oursql.Cursor.fetchall (oursqlx\oursql.c:16568)
File "statement.pyx", line 549, in oursql._Statement.fetchall (oursqlx\oursql.c:11364)
File "statement.pyx", line 556, in oursql._Statement.buffer_results (oursqlx\oursql.c:11447)
File "statement.pyx", line 126, in oursql._Statement._raise_error (oursqlx\oursql.c:6997)
InterfaceError: (2014, "Commands out of sync; you can't run this command now", None)
>>>
Also FWIW if I use the same example to connect to my MySQL 4.1 server I get a different exception
>>> ======= ======= ======= ======= ==== RESTART ======= ======= ======= ======= ====
>>>
Traceback (most recent call last): jlaughlin/ Documents/ tmp/oursqltest. py", line 6, in <module> Cursor. fetchall (oursqlx\ oursql. c:16568) _Statement. fetchall (oursqlx\ oursql. c:11364) _Statement. buffer_ results (oursqlx\ oursql. c:11447) _Statement. _raise_ error (oursqlx\ oursql. c:6997)
File "C:/Users/
print curs.fetchall()
File "cursor.pyx", line 228, in oursql.
File "statement.pyx", line 549, in oursql.
File "statement.pyx", line 556, in oursql.
File "statement.pyx", line 126, in oursql.
InterfaceError: (2014, "Commands out of sync; you can't run this command now", None)
>>>