I am using database/sql with github.com/ziutek/mymysql.
Sometimes, db.Exec gets several "expected EOF" errors, then go on well, then
I am not familiar with database problem.
I guessed it was caused by problem of connection ,
so I try to fix this problem by "wait-retry" way.
It works, but the code is rather "dirty".
Anyone has a better idea?