myslq报错处理, 错误信息: Warning: (1292, "Truncated incorrect DOUBLE value: '2015-01-05'")
错误信息:Warning:(1292,"TruncatedincorrectDOUBLEvalue:'2015-01-05'")这个报错今晚查了好久,才发现这个解决办法,所以记录一下,如果看到我的文章不懂啥意思的可以私聊我。调用语句:if__name__=='__main__':con=pymysql.connect("localhost","root","123456","test",chars