and I have also tried when I try without comma, I got this and when I try with c
ID: 3597932 • Letter: A
Question
and I have also tried
when I try without comma, I got this
and when I try with comma, I got
Traceback (most recent call last):
File "mp2.py", line 54, in <module>
cur5.execute(insert,(10003,'Tustin gallery','average'))
File "C:python27libsite-packagesMySQLdbcursors.py", line 205, in execute
self.errorhandler(self, exc, value)
File "C:python27libsite-packagesMySQLdbconnections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
_mysql_exceptions.InterfaceError: (0, '')
any idea how to fix it?
Explanation / Answer
1.
2.
cur4.execute("SELECT * FROM artist WHERE artist.name LIKE %s" % con.literal(name))
4..
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.