我的.mysql_history看起来像:
select\040country,\040count(*)\040from\040city_item\040inner\040join\040city\040group\040by\040year,\040country;
如何将其转换为人类可读的格式?假设配置--without-readline参数或其他东西为时已晚my.cfg
--without-readline
my.cfg
使用
sed "s/\\\040/ /g" < .mysql_history