Re: MySQLdb question

2017-02-09 Thread DTD
On Thu, 26 Jan 2017, Karl Young wrote: DTD(d...@safeport.com)@2017.01.26 13:23:56 -0500: I am using py27-MySQLdb-1.2.5 (the default) for FreeBSD 10.3 cmd="update ipv4 set s8='%s',s16='%s',s24='%s' where ip='%s'" % (s8,s16,s24,row[0]) c.ex

MySQLdb question

2017-01-26 Thread DTD
I am using py27-MySQLdb-1.2.5 (the default) for FreeBSD 10.3 cmd="update ipv4 set s8='%s',s16='%s',s24='%s' where ip='%s'" % (s8,s16,s24,row[0]) c.execute(cmd) does not work. I actually used try/except. It does not throw an error cmd=update ipv4 set s8='1.',s16='1.186.',s24='1.186.248.'