FIX: [mysql] fix database export (fixes #14843)
Merge pull request #4012 from koying/quickpr

FIX: [mysql] fix database export (fixes #14843)