Update : Today, after i run the sh file, i had a lot of email messages with
"Lock wait timeout exceeded; try restarting transaction"Some of the tickets where dublicate (same number) or different number but same data, user, created date, so i deleted them.
mso-ascii-theme-font-latin;mso-fareast-font-family;mso-fareast-theme-font:
minor-latin;mso-hansi-theme-font-latin;mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font-bidi;mso-ansi-language;mso-fareast-language-US;
mso-bidi-language-SA">I guess that because table ost_file_chunk is 10GB and innodb_lock_wait_timeout = 50, i have to change innodb_lock_wait_timeout to much bigger value.