It reported an error when i query in mysql, the sql is below:
update bsk.bskchapterlist set stateid=6 where username=11111111111 and lessonid=987;
Error : Truncated incorrect DOUBLE value: '22.214.171.124'
Please check datatype of your DB table. If any of the field is with datatype varchar then please wrap it with quote. Let's say username field is with datatype varchar then please use following query. I assumed that stateid and lessonid fields have int datatype and if any of those having datatype varchar please wrap with quotes those as well.
update bsk.bskchapterlist set stateid=6 where username='11111111111' and lessonid=987;