mysql>mysql> SELECT UNHEX(HEX('string'));+----------------------+| UNHEX(HEX('string')) |+----------------------+| string |+----------------------+1 row in set (0.00 sec)mysql>