Hi,
I've been reading the forums, but haven't found what might be going wrong. I'm using Flask and Flask SQL-alchemy. It looks like SQL-alchemy should handle the potential time-out issues. Hitting the back putting and repeating the post has worked to fix things so far, but I'd like a better fix. Thoughts? (I'm familiar with python, but not really with SQL).
Error:
OperationalError: (OperationalError) (2013, 'Lost connection to MySQL server during query') 'INSERT INTO user (`Add_to_Avg`, `Submitted_Comments`, username, date_time, `Ask_percent_correct`, `Learn_percent_correct`, `Look_percent_correct`, `Play_percent_correct`, `Think_percent_correct`, `Fuse_percent_correct`, `Choose_percent_correct`, `Make_percent_correct`, `Asks_json`, `Learns_json`, `Looks_json`, `Plays_json`, `Thinks_json`, `Fuses_json`, `Chooses_json`, `Makes_json`, `QuizComments`, `WebsiteComments`) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)' (1, 0, '', datetime.datetime(2013, 12, 8, 22, 20, 8, 767414), 83.33333333333333, 25.0, 50.0, 83.33333333333333, 50.0, 100.0, 16.666666666666668, 66.66666666666667, '"[\\"1\\", \\"0\\", \\"1\\", \\"1\\", \\"1\\", \\"1\\"]"', '"[\\"0\\", \\"0\\", \\"1\\", \\"0\\", \\"1\\", \\"0\\", \\"0\\", \\"0\\"]"', '"[\\"1\\", \\"1\\", \\"1\\", \\"0\\", \\"0\\", \\"0\\"]"', '"[\\"1\\", \\"1\\", \\"0\\", \\"1\\", \\"1\\", \\"1\\"]"', '"[\\"1\\", \\"0\\", \\"1\\", \\"0\\", \\"1\\", \\"0\\"]"', '"[\\"1\\", \\"1\\", \\"1\\", \\"1\\", \\"1\\", \\"1\\"]"', '"[\\"0\\", \\"1\\", \\"0\\", \\"0\\", \\"0\\", \\"0\\"]"', '"[\\"0\\", \\"1\\", \\"0\\", \\"1\\", \\"1\\", \\"1\\"]"', '', '')
[edit by admin: formatting]