Menu

select problem

Help
2006-07-30
2012-09-19
  • major_meatbone

    major_meatbone - 2006-07-30

    Hi!

    Recently i have had problems with a select-query (just any select query). Insert querty's go fine. About a week ago the select's went fine to.

    I get this error msg:
    > python bajs.py
    Traceback (most recent call last):
    File "bajs.py", line 7, in ?
    result=moj.sql_generic(query)
    File "/home/lighttpd/html/minsida/classer.py", line 15, in sql_generic
    self.cursor.execute(query)
    File "/usr/lib/python2.4/site-packages/MySQLdb/cursors.py", line 163, in execute
    self.errorhandler(self, exc, value)
    File "/usr/lib/python2.4/site-packages/MySQLdb/connections.py", line 35, in defaulterrorhandler
    raise errorclass, errorvalue
    _mysql_exceptions.InterfaceError: (0, '')

     
    • Kovid Goyal

      Kovid Goyal - 2006-08-12

      A recompile fixed it

       
    • Andy Dustman

      Andy Dustman - 2006-08-05

      Are you using the default cursor class?

       
    • Kovid Goyal

      Kovid Goyal - 2006-08-12

      I have this as well, using the default cursor after an update to 1.2.1 on gentoo ~x86. MySQL 5.0.24

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.