Syntax
COMPRESS(str)
Purpose
COMPRESS() compresses a string and returns the result as a binary string. UNCOMPRESS() decompresses the result.
Examples
obclient> SELECT COMPRESS('abc');
+-----------------+
| COMPRESS('abc') |
+-----------------+
| x?KLJ M' |
+-----------------+
1 row in set