ZLIB_DECOMPRESS(1)

πŸ“¦
version 8.0.46 Β· 5 versions
, in centos-stream 9, fedora 43, fedora 44, ubuntu jammy, ubuntu noble

✨ NAME ✨

okay bestie, meet zlib_decompress β€” it decompresses mysqlpump output that got ZLIB-compressed πŸ’–


🌸 SYNOPSIS 🌸

zlib_decompress input_file output_file

πŸ¦‹ DESCRIPTION πŸ¦‹

So the zlib_decompress utility does one job and does it slay: it decompresses mysqlpump output that was created using ZLIB compression. that's it. that's the whole gig. πŸ‘‘

🚨 DEPRECATED ALERT 🚨 zlib_decompress is deprecated as of MySQL 8.0.34; expect it to be removed in a future version of MySQL. and why?? because the associated mysqlpump utility is also deprecated as of MySQL 8.0.34. they're going down together fr fr 😭
heads up!! If MySQL was configured with the -DWITH_ZLIB=system option, zlib_decompress is not built. In that case, the system openssl zlib command can be used instead. good to know, iykyk πŸ’…

Invoke zlib_decompress like this:

zlib_decompress input_file output_file

Example, because seeing it in action just hits different:

mysqlpump --compress-output=ZLIB > dump.zlib
zlib_decompress dump.zlib dump.txt

To see a help message, invoke zlib_decompress with no arguments. no thoughts, just help 🫢

To decompress mysqlpump LZ4-compressed output, use lz4_decompress. See lz4_decompress(1). different compressor, different girlie ✨


Copyright Β© 1997, 2026, Oracle and/or its affiliates.

This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.

This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. πŸ’œ


🌈 SEE ALSO 🌈

For more information, please refer to the MySQL Reference Manual, which may already be installed locally and which is also available online at http://dev.mysql.com/doc/. go read it bestie, it's giving knowledge πŸ“šβœ¨


πŸ‘‘ AUTHOR πŸ‘‘

Oracle Corporation (http://dev.mysql.com/).


and that's a wrap!! this little page came to you from MySQL 8.0, dated 03/23/2026 β€” stay hydrated, back up your dumps, and go decompress something cute πŸ§šπŸ’–πŸŒΈ

πŸ“¦ where this page comes from