Revert "MYSQL - Fix load of archive files."

This reverts commit 1891936edb7c8639a0d530442a53d4faf49bafe5.
Revert "Revert "MYSQL - Fix load of archive files.""

This reverts commit 4d03d0b40835c405f277df03f52931ec337e7b34.

Make sure the correct Author is attributed here.