ZLIB_DECOMPRESS(1)
β¨ 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_decompressis deprecated as of MySQL 8.0.34; expect it to be removed in a future version of MySQL. and why?? because the associatedmysqlpumputility 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=systemoption,zlib_decompressis not built. In that case, the systemopenssl zlibcommand 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 π
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
- centos-stream 9: mysql-test 8.0.46-1.el9 Β· GPLv2 with exceptions and LGPLv2 and BSD
- fedora 43: mysql8.0-test 8.0.46-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.1-only AND BSL-1.0 AND BSD-2-Clause
- fedora 44: mysql8.0-test 8.0.46-1.fc44 Β· GPL-2.0-or-later AND LGPL-2.1-only AND BSL-1.0 AND BSD-2-Clause
- ubuntu jammy: mysql-server-core-8.0 8.0.46-0ubuntu0.22.04.4 Β· GPL-2.0-or-later
- ubuntu noble: mysql-server-core-8.0 8.0.46-0ubuntu0.24.04.4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms